[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 14 21:23:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #3)
> Sorry for my ignorance, what is syntactically wrong with that?
It is semantically incorrect and not syntactically incorrect. Basically
-fsyntax-only includes most of the semantics analysis, why not this one too.
More information about the Gcc-bugs
mailing list