re PR driver/24473 (Linker input files no longer ignored with -c and -o)
2005-10-21 Andrew Pinski <pinskia@physics.uc.edu> PR driver/24473 * gcc.c (main): Use the correct counter for erroring out about mulitple files. From-SVN: r105732
This commit is contained in:
parent
ab940869ea
commit
de19a50ee4
@ -1,3 +1,9 @@
|
||||
2005-10-21 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR driver/24473
|
||||
* gcc.c (main): Use the correct counter for erroring out
|
||||
about mulitple files.
|
||||
|
||||
2005-10-21 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR target/24465
|
||||
|
@ -6463,7 +6463,7 @@ main (int argc, const char **argv)
|
||||
infiles[i].preprocessed = false;
|
||||
}
|
||||
|
||||
if (!combine_inputs && have_c && have_o && n_infiles > 1)
|
||||
if (!combine_inputs && have_c && have_o && lang_n_infiles > 1)
|
||||
fatal ("cannot specify -o with -c or -S with multiple files");
|
||||
|
||||
if (combine_flag && save_temps_flag)
|
||||
|
Loading…
Reference in New Issue
Block a user