[Bug bootstrap/51388] Configure failure to detect unsupported warning options for non-bootstrap builds (including cross builds)
steven at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 2 16:49:00 GMT 2011
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?
More information about the Gcc-bugs
mailing list