Commit 9ef0b1bd by Ben Elliston Committed by Ben Elliston

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
parent 134c8167
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 Straetling <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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment