https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121477

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

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

commit r16-7120-gbaaa412ae73c12e2e5ea2552534ec42525f6d21e
Author: Iain Buclaw <[email protected]>
Date:   Wed Jan 28 18:34:21 2026 +0100

    d: Fix ICE: in expand_asm_stmt, at cfgexpand.cc:3445 [PR121477]

    The d_mark_addressable routine that sets TREE_ADDRESSABLE in the D
    front-end did not handle DECL_BIT_FIELD.

            PR d/121477

    gcc/d/ChangeLog:

            * d-codegen.cc (d_mark_addressable): Give an error if taking the
            address of a DECL_BIT_FIELD.

    gcc/testsuite/ChangeLog:

            * gdc.dg/pr121477.d: New test.

Reply via email to