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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Iain Buclaw
<ibuc...@gcc.gnu.org>:

https://gcc.gnu.org/g:72d85f2163306c8ba234d228d8071ed368cbd2f2

commit r13-9445-g72d85f2163306c8ba234d228d8071ed368cbd2f2
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Sun Mar 23 12:57:27 2025 +0100

    d: Fix ICE type variant differs by TYPE_PACKED [PR117621]

    Introduced by r13-1104-gf4c3ce32fa54c1, which had an accidental self
    assignment of TYPE_PACKED when it should have been assigned to the
    type's variants.

            PR d/117621

    gcc/d/ChangeLog:

            * types.cc (finish_aggregate_type): Propagate TYPE_PACKED to
variants.

    gcc/testsuite/ChangeLog:

            * gdc.dg/pr117621.d: New test.

    (cherry picked from commit a12dd79ff4e469652be6d8ef501e1d70178b44cd)

Reply via email to