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

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

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

commit r15-10742-ge49b8f2a46d1baaee01c9924b3cc9b66c9e5f6d3
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.

    (cherry picked from commit baaa412ae73c12e2e5ea2552534ec42525f6d21e)

Reply via email to