[Bug c++/89450] RFC: Strengthen -fstrict-enums

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 22 11:26:00 GMT 2019


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Well the documentation says this:
basically, a value that can be represented in the minimum number of bits needed
to represent all the enumerators

So if we are going to change the definition of -fstrict-enum, this would be a
very visiable change and even a difference from the documentation from previous
versions.

I would think we should not change it as it is documented exactly this way.


More information about the Gcc-bugs mailing list