This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/15303] When gcc sees an unrecognized option, the exit status indicates success
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2004 04:55:17 -0000
- Subject: [Bug driver/15303] When gcc sees an unrecognized option, the exit status indicates success
- References: <20040506005932.15303.ian@wasabisystems.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-05-06 04:55 -------
I consider this to be a bug. I know that in one of our scripts we try
to make sure that the compiler flags we figured out during configuration
are consistent and possible by simply compiling an empty file with these
flags. I now realize that this test must always succeed. I think this
is not right, even if the file itself is compiled correctly with those
parts of the flags that the compiler understood.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15303