[Bug middle-end/125507] ENUM_BITFIELD usage should be removed

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125507

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kael Andrew Franco <[email protected]>:

https://gcc.gnu.org/g:b37ace0e98ded690b4392e65487f3a9d2120e76e

commit r17-2692-gb37ace0e98ded690b4392e65487f3a9d2120e76e
Author: Kael Andrew Alonzo Franco <[email protected]>
Date:   Fri Jul 24 20:28:25 2026 -0400

    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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.