[Bug c++/95701] undefined enum conversion accepted in constant expression
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 16 17:11:32 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95701
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2020-06-16
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We still accept it even with -fstrict-enums
Interestingly, so do Clang and EDG.
More information about the Gcc-bugs
mailing list