On 7/22/2026 3:21 AM, Kael Andrew Franco wrote:
 From 71c41b76ca8449586138ed40295b15fce6e21897 Mon Sep 17 00:00:00 2001
From: Kael Andrew Alonzo Franco <[email protected]>
Date: Tue, 21 Jul 2026 16:45:05 -0400
Subject: [PATCH] middle-end: Remove most ENUM_BITFIELD uses. [PR125507]

GCC requires C++14 and C++ supports enum bitfield so ENUM_BITFIELD is 
deprecated macro.

Bootstrapped and regtested on x86_64-pc-linux-gnu.

        PR middle-end/125507

gcc/c-family/ChangeLog:

        * c-common.h (struct c_common_resword): Remove ENUM_BITFIELD.
        * c-indentation.h (struct token_indent_info): Ditto.

gcc/c/ChangeLog:

        * c-parser.h (struct c_token): Remove ENUM_BITFIELD.
        * c-tree.h (struct c_declspecs): Ditto.

gcc/cp/ChangeLog:

        * cp-tree.h (struct lang_decl_base): Remove ENUM_BITFIELD.
        (struct lang_decl_fn): Ditto.
        (struct cp_declarator): Ditto.
        * name-lookup.h (struct cp_binding_level): Ditto.

gcc/ChangeLog:

        * cfgloop.h (class loop): Remove ENUM_BITFIELD.
        * cgraph.h (struct toplevel_node): Ditto.
        (struct symtab_node): Ditto.
        (struct cgraph_node): Ditto.
        * combine.cc (struct reg_stat_type): Ditto.
        * config/i386/i386.h (struct machine_function): Ditto.
        * cse.cc (struct qty_table_elem): Ditto.
        (struct table_elt): Ditto.
        (struct set): Ditto.
        * df.h (struct df_mw_hardreg): Ditto.
        (struct df_base_ref): Ditto.
        * domwalk.h (class dom_walker): Ditto.
        * dwarf2out.h (struct dw_val_node): Ditto.
        * gimple.h (struct gimple): Ditto.
        * ipa-predicate.h (struct expr_eval_op): Ditto.
        (struct condition): Ditto.
        * ipa-ref.h (struct ipa_ref): Ditto.
        * ira-int.h (struct ira_dependent_filter): Ditto.
        (struct ira_allocno): Ditto.
        * lra-int.h (struct lra_operand_data): Ditto.
        (struct lra_insn_reg): Ditto.
        * optabs.h (class expand_operand): Ditto.
        * recog.h (struct operand_alternative): Ditto.
        (struct insn_operand_data): Ditto.
        * ree.cc (struct ext_modified): Ditto.
        * regrename.h (struct du_chain): Ditto.
        * rtl.h (struct rtx_def): Ditto.
        * sched-int.h (struct _dep): Ditto.
        * tree-into-ssa.cc (struct common_info): Ditto.
        * tree-ssa-loop-ivopts.cc (struct iv_cand): Ditto.
        * tree-ssa-sccvn.h (struct vn_nary_op_s): Ditto.
        (struct vn_reference_op_struct): Ditto.
        * value-range-storage.h (class vrange_storage): Ditto.
        * value-range.h (class vrange): Ditto.
        * var-tracking.cc (struct variable): Ditto.
        * vmsdbg.h (struct _DST_HEADER): Ditto.

Signed-off-by: Kael Andrew Franco <[email protected]>
OK
jeff

Reply via email to