This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]