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

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Florian Weimer <fw at gcc dot gnu.org> ---
I was wrong, conversions from int to bool are supposed to be narrowing, and Two
+ 1 has type int, and getting from there to bool is not permitted in a
converted constant expression.

I still have some concerns about narrowing conversions to bool, but those are
independent of the enum issue.

Reply via email to