[Bug target/51020] %{...*; :default} spec lines cause all switches to be validated
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 8 03:19:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51020
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-11-08 03:03:58 UTC ---
Note that in 4.7 all options will be validated by the .opt machinery
(producing "gcc: error: unrecognized command line option '---'") by the
driver and only options passing that (and -Wno-* options) will then go
through the specs validation as well. This may break things depending on
the exact error message; it may also make this bug less significant
because fewer cases will be left to be caught by the check against specs.
More information about the Gcc-bugs
mailing list