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

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

https://gcc.gnu.org/g:9c64ed572e3a2ac24d0635fadb5428b372257144

commit r16-8766-g9c64ed572e3a2ac24d0635fadb5428b372257144
Author: Iain Buclaw <[email protected]>
Date:   Mon Apr 20 17:32:20 2026 +0200

    d: Fix regression in gdc.dg/torture/pr96152.d

    The switch to front-end lowering of AA literals regressed on 32bit SPARC
    targets, as the runtime function `_d_assocarrayliteralTX()` returns a
    `void*`, but the expression should be of type `struct { void* ptr; }`.

            PR d/124157

    gcc/d/ChangeLog:

            * expr.cc (ExprVisitor::visit (AssocArrayLiteralExp *)): Return AA
            constructor with memory returned by _d_assocarrayliteralTX().

Reply via email to