gcc.c (main): Compare language[0] with '*' when iterating over the infiles.
* gcc.c (main): Compare language[0] with '*' when iterating over the infiles. From-SVN: r101993
This commit is contained in:
parent
134c8167c4
commit
9ef0b1bd66
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-07-14 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* gcc.c (main): Compare language[0] with '*' when iterating over
|
||||
the infiles.
|
||||
|
||||
2005-07-13 Adrian Strae½tling <straetling@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c: (s390_cc_modes_compatible): Move before
|
||||
|
|
|
@ -6569,7 +6569,7 @@ main (int argc, const char **argv)
|
|||
int i;
|
||||
|
||||
for (i = 0; i < n_infiles ; i++)
|
||||
if (infiles[i].language && infiles[i].language != '*')
|
||||
if (infiles[i].language && infiles[i].language[0] != '*')
|
||||
{
|
||||
set_input (infiles[i].name);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue