r269533 - in /trunk/gcc: d/ChangeLog d/d-codege...
ibuclaw@gcc.gnu.org
ibuclaw@gcc.gnu.org
Sat Mar 9 19:29:00 GMT 2019
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
More information about the Gcc-cvs
mailing list