2010-11-30 Richard Guenther <rguenther@suse.de>
PR lto/44986
* gcc.c (main): Use the first input with a compiler as infile
for link spec processing.
From-SVN: r167292
+2010-11-30 Richard Guenther <rguenther@suse.de>
+
+ PR lto/44986
+ * gcc.c (main): Use the first input with a compiler as infile
+ for link spec processing.
+
2010-11-30 Richard Guenther <rguenther@suse.de>
PR lto/45949
int i;
for (i = 0; i < n_infiles ; i++)
- if (infiles[i].language && infiles[i].language[0] != '*')
+ if (infiles[i].incompiler
+ || (infiles[i].language && infiles[i].language[0] != '*'))
{
set_input (infiles[i].name);
break;