[Bug c++/98142] fstrict-enums optimization applied only for unscoped enums with unfixed underlying type

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 9 14:51:55 GMT 2024


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

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
What kind of change could make it the default? It would be non-conforming, so
can't just be the default. 

Do you mean a -fclosed-enums flag that implies changing it globally?


More information about the Gcc-bugs mailing list