]> git.ipfire.org Git - thirdparty/gcc.git/commit
d: Fix ICE in output_constant, at varasm.cc:5662 [PR124026]
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 8 Feb 2026 19:36:11 +0000 (20:36 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 8 Feb 2026 19:55:39 +0000 (20:55 +0100)
commit9aa5bdf9a50fce6e3bf42f38eb9cf57abb8eecbe
tree48dfbebd6def51af64c59904153c00dae4d411cd
parent815732c2751060c38f0dc872a025632f247dda5c
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/d/expr.cc