[Bug d/123798] d21: ICE: in output_constructor_regular_field, at varasm.cc:5500
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 28 21:46:25 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123798
--- Comment #5 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:80a9d7ab2578e9ae04721311bfe4bbeaec317381
commit r13-10060-g80a9d7ab2578e9ae04721311bfe4bbeaec317381
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Wed Jan 28 22:09:37 2026 +0100
d: Fix ICE: in output_constructor_regular_field, at varasm.cc:5500
[PR123798]
PR d/123798
gcc/d/ChangeLog:
* types.cc (insert_aggregate_bitfield): Set DECL_NONADDRESSABLE_P
and
DECL_PADDING_P on bit-field decls.
(finish_aggregate_type): Pass the aligned bit offset to
layout_decl.
gcc/testsuite/ChangeLog:
* gdc.dg/pr123798.d: New test.
(cherry picked from commit a1adc5aa30caae043cbd45dbbf9a738bebba34cc)
More information about the Gcc-bugs
mailing list