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

--- 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:3b47de21a080b1ec336232066ea695a079687423

commit r15-10802-g3b47de21a080b1ec336232066ea695a079687423
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