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

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

https://gcc.gnu.org/g:4931b2c3b371067dbf241d56889c61193a75d2c1

commit r14-12275-g4931b2c3b371067dbf241d56889c61193a75d2c1
Author: Iain Buclaw <[email protected]>
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)

Reply via email to