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++/67047] GCC accepts ill-formed program with enumerator not representable in uintmax_t


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67047

--- Comment #3 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
It seems like the increment of the enumerator x triggered the use of the
following compiler extension:

https://gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html

This without any error messages. That is not ok! Remember that we used
-pedantic-errors.


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