On Fri, Sep 4, 2026 at 8:30 AM Jeff Law <[email protected]> wrote:
>
>
>
> On 9/4/26 6:17 AM, Kael Andrew Alonzo Franco wrote:
> > GCC requires C++14, which supports enum bitfield so ENUM_BITFIELD
> > is removed in GCC. This assumes that Fortran, D, and Rust patches
> > to remove ENUM_BITFIELD are accepted.
> >
> > Bootstrapped and regtested on x86_64-pc-linux-gnu.
> >
> >       PR middle-end/125507
> >
> > contrib/ChangeLog:
> >
> >       * filter_params.py (filter_src): Remove ENUM_BITFIELD.
> >       (FilteringTests): Ditto.
> >
> > gcc/ChangeLog:
> >
> >       * gengtype-lex.l: Remove ENUM_BITFIELD.
> >       * real.h (struct real_value): Ditto.
> OK.   As are the language front-end patches upon which this depends.

It looks all uses of ENUM_BITFIELD are gone in the gcc repro  from C++
code after Kael's latest patches.
I checked by doing a `git grep ENUM_BITFIELD` from the gcc directory
and the only references to it are now in the changelog and
acinclude.m4 and include/ansidecl.h.
include/ansidecl.h is fine. and the reference to acinclude.m4 is just
a partial match; it really does ENUM_BITFIELDS_ARE_UNSIGNED which
looks unused anyways.

Kael thanks again for this cleanup.

Thanks,
Andrea

>
> Jeff

Reply via email to