[Bug c/88625] c11: GCC Allows enumerator value not representable in type int.

2018-12-31 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88625 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/88625] c11: GCC Allows enumerator value not representable in type int.

2018-12-27 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88625 --- Comment #1 from Anders Granlund --- Forgot to include the include of a header file in the test case: #include enum E { x = UINT_MAX }; int main() { }