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

--- Comment #11 from Wilhelm M <klaus.doldinger64 at googlemail dot com> ---
Without an underlying type but with -fshort-enums the underlying type should be
as small as possible. In this case this should be a uint8_t. But in this case
we get a 16-bit value for mState. This is a clear violation of -fshort-enums.
  • [Bug c++/107622] Miss... klaus.doldinger64 at googlemail dot com via Gcc-bugs

Reply via email to