This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51388] Configure failure to detect unsupported warning options for non-bootstrap builds (including cross builds)
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 02 Dec 2011 16:48:45 +0000
- Subject: [Bug bootstrap/51388] Configure failure to detect unsupported warning options for non-bootstrap builds (including cross builds)
- Auto-submitted: auto-generated
- References: <bug-51388-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51388
--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> 2011-12-02 16:48:45 UTC ---
(In reply to comment #1)
> Now, the question is why we don't consistently error in 4.3 ...
>
> I see
>
> > gcc-4.3 -c -Wno-narrowing t.c -DHAVE_ARG
> cc1: error: unrecognized command line option "-Wno-narrowing"
>
> with FSF GCC 4.3.6. So, are you sure this isn't behavior caused by
> vendor patches? (openSUSE GCC 4.3 also works)
I think this is due to the patch "pr28322.dpatch" in the Debian GCC 4.3.2-1.1
package. IIUC that patch is also in GCC 4.4. Is that something you can confirm?