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
This commit is contained in:
parent
4fcc994447
commit
01e4dd0dad
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* tree-vrp.c (compare_names): Initialize sop.
|
||||
|
@ -6791,7 +6791,8 @@ main (int argc, char **argv)
|
||||
|
||||
if (! linker_was_run && error_count == 0)
|
||||
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",
|
||||
outfiles[i]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user