This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r269533 - in /trunk/gcc: d/ChangeLog d/d-codege...
- From: ibuclaw at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 09 Mar 2019 19:29:29 -0000
- Subject: r269533 - in /trunk/gcc: d/ChangeLog d/d-codege...
Author: ibuclaw
Date: Sat Mar 9 19:29:29 2019
New Revision: 269533
URL: https://gcc.gnu.org/viewcvs?rev=269533&root=gcc&view=rev
Log:
d: Fix ICE in get_frame_for_symbol
When generating code for a non-nested delegate literal, there is no
context pointer required to pass to the function.
2019-03-09 Iain Buclaw <ibuclaw@gdcproject.org>
gcc/d/
PR d/89041
* d-codegen.cc (get_frame_for_symbol): Delegate literals defined in
global scope don't have a frame pointer.
gcc/testsuite/
PR d/89041
* gdc.dg/pr89041.d: New test.
Added:
trunk/gcc/testsuite/gdc.dg/pr89041.d
Modified:
trunk/gcc/d/ChangeLog
trunk/gcc/d/d-codegen.cc
trunk/gcc/testsuite/ChangeLog