PR lto/44986
* gcc.c (main): Use the first input with a compiler as infile
for link spec processing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167292
138bc75d-0d04-0410-961f-
82ee72b054a4
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
* cgraphunit.c (ipa_passes): Stop after errors from
small IPA passes.
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;