On 6/2/2026 8:07 PM, Andrew Pinski wrote:
> This removes ENUM_BITFIELD from tree-core.h. GCC has been written in C++ for
> years now. So enums can be bitfields. There is no reason for the macro.
> This removes the macro usage from tree-core.h. The other uses can be removed
> by others.
>
> Note gengtype needed to support for tree_code to remove the extra enum that
> is added
> for other others.
>
> Bootstrapped and tested on x86_64-linux-gnu.
>
> PR middle-end/125507
>
> gcc/ChangeLog:
>
> * gengtype.cc (main): Add tree_code.
> * tree-core.h (struct tree_base): Remove ENUM_BITFIELD.
> (struct tree_type_common): Likewise.
> (struct tree_decl_common): Likewise.
> (struct tree_decl_with_vis): Likewise.
> (struct tree_function_decl): Likewise.
>
> Signed-off-by: Andrew Pinski <[email protected]>
OK
jeff