This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/22544] [4.0/4.1 Regression] gcc ignores input file given on the command line
- From: "rep dot nop at aon dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2005 16:22:22 -0000
- Subject: [Bug driver/22544] [4.0/4.1 Regression] gcc ignores input file given on the command line
- References: <bug-22544-128@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from rep dot nop at aon dot at 2005-10-16 16:22 -------
Created an attachment (id=10004)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10004&action=view)
fix w/ warning about mixed incompatible languages too
Changelog:
* gcc.c (have_c): New static variable.
(have_o): Likewise.
(process_command): Remove declation of have_c.
Set have_o to 1 when handling -o.
(main): Add a fatal error if there are multiple files specified and -o and
-c/-S
is passed witout -combine or multiple languages.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22544