This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67047] GCC accepts ill-formed program with enumerator not representable in uintmax_t
- From: "anders.granlund.0 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Jul 2015 01:18:33 +0000
- Subject: [Bug c++/67047] GCC accepts ill-formed program with enumerator not representable in uintmax_t
- Auto-submitted: auto-generated
- References: <bug-67047-4 at http dot gcc dot gnu dot org/bugzilla/>
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.