[Bug d/121477] d: internal compiler error: in expand_asm_stmt, at cfgexpand.cc:3445
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 28 17:59:21 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121477
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:edd69382d8925f521a1a30ae26e0e595756e03d6
commit r13-10059-gedd69382d8925f521a1a30ae26e0e595756e03d6
Author: Iain Buclaw <ibuclaw@gdcproject.org>
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)
More information about the Gcc-bugs
mailing list