Commit 42113d6b by Richard Guenther Committed by Richard Biener

re PR driver/44986 (-fuse-linker-plugin -save-temps gives resolution file base…

re PR driver/44986 (-fuse-linker-plugin -save-temps gives resolution file base name of last argument)

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
parent 0430f80c
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.
......@@ -6739,7 +6739,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
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;
......
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