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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2005 04:50:41 -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 #6 from pinskia at gcc dot gnu dot org 2005-10-16 04:50 -------
Created an attachment (id=10000)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10000&action=view)
The fix which needs to be tested
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 fatel 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