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

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

https://gcc.gnu.org/g:844b6731f1cfaae42b3da955ff3859b910159e51

commit r13-10079-g844b6731f1cfaae42b3da955ff3859b910159e51
Author: Iain Buclaw <[email protected]>
Date:   Sun Feb 8 20:36:11 2026 +0100

    d: Fix ICE in output_constant, at varasm.cc:5662 [PR124026]

            PR d/124026

    gcc/d/ChangeLog:

            * expr.cc (ExprVisitor::visit (FuncExp *)): Always convert function
            literal to a delegate if the expression expects one.

    gcc/testsuite/ChangeLog:

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

    (cherry picked from commit 9aa5bdf9a50fce6e3bf42f38eb9cf57abb8eecbe)

Reply via email to