This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Nov 2014 21:23:10 +0000
- Subject: [Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only
- Auto-submitted: auto-generated
- References: <bug-24293-4 at http dot gcc dot gnu dot org/bugzilla/>
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.