------- Comment #8 from pinskia at gcc dot gnu dot org 2005-10-16 14:32 -------
(In reply to comment #7)
> Was the non-standard behaviour in 3.4 a bug or a feature? In any case, isn't
> it
> reasonable to mention the -combine option in the error message?
The behavior in 3.4 was a feature, IIRC not well documented one.
> Something like:
>
> fatal ("cannot specify -o with -c or -S with multiple files. Try -combine");
Well what happens when you do:
gcc -combine t.cc t.c -c -o t.o
We need an error but what should it be. I think leaving out the -combine will
not confuse
people as they should be reading the documention anyways.
> I don't have the gcc code, but you check for have_c && have_o, but can have_o
> ever be true for -S?
have_c is set for both -S and -c.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22544