https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58150
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this can happen even with normal enum and not just enum class as long as you specify the underlying type.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 15 Jan 2026 00:13:51 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58150
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this can happen even with normal enum and not just enum class as long as you specify the underlying type.