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

--- Comment #3 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:1b0d964f3cbead665119eea0cdb55c62737f7838

commit r15-10743-g1b0d964f3cbead665119eea0cdb55c62737f7838
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