Commit 01e4dd0d by Kazu Hirata Committed by Kazu Hirata

gcc.c (main): Don't consider linker options when issuing the warning about a linker input...

	* gcc.c (main): Don't consider linker options when issuing the
	warning about a linker input file not being used.

From-SVN: r125226
parent 4fcc9944
2007-05-31 Kazu Hirata <kazu@codesourcery.com>
* gcc.c (main): Don't consider linker options when issuing the
warning about a linker input file not being used.
2007-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2007-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tree-vrp.c (compare_names): Initialize sop. * tree-vrp.c (compare_names): Initialize sop.
......
...@@ -6791,7 +6791,8 @@ main (int argc, char **argv) ...@@ -6791,7 +6791,8 @@ main (int argc, char **argv)
if (! linker_was_run && error_count == 0) if (! linker_was_run && error_count == 0)
for (i = 0; (int) i < n_infiles; i++) for (i = 0; (int) i < n_infiles; i++)
if (explicit_link_files[i]) if (explicit_link_files[i]
&& !(infiles[i].language && infiles[i].language[0] == '*'))
error ("%s: linker input file unused because linking not done", error ("%s: linker input file unused because linking not done",
outfiles[i]); outfiles[i]);
......
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