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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #9)
> The reason why it works with the C front-end is actaully because of
> r9-6782-g2a82beaa820410. There C front-end explictly makes enum and the
> underlying integer types have the same aliasing set.

Just note that GCC 15 doesn't use the c_get_alias_set changes r9-6782 added,
but instead sets TYPE_CANONICAL of ENUMERAL_TYPEs to the underlying type.

Reply via email to