https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96924
Bug ID: 96924
Summary: d: ICE in create_tmp_var, at gimple-expr.c:482
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ibuclaw at gdcproject dot org
Target Milestone: ---
Codegen pass is generating a SAVE_EXPR when it really shouldn't.
---
struct Memo
{
string source;
this(this);
}
void compile(string src, size_t end)
{
Memo[] stack;
stack ~= Memo(src[end .. $]);
}