https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125507
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <[email protected]>: https://gcc.gnu.org/g:c8ca8e647caf945dc4694107884cf0f4eba5da2f commit r17-1244-gc8ca8e647caf945dc4694107884cf0f4eba5da2f Author: Andrew Pinski <[email protected]> Date: Tue Jun 2 13:05:06 2026 -0700 tree-core: Remove ENUM_BITFIELD from tree-core.h [PR125507] 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]>
