[Issue 11323] ICE with -inline in gother.c 989
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 17 22:44:28 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11323
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2013-11-17 22:44:25 PST ---
Reduced case:
struct S
{
S* parent;
uint m_nextCapturedIndex;
int m_type;
ref nextCapturedIndex()
{
if(m_type == 0)
return m_nextCapturedIndex;
else
return parent.nextCapturedIndex;
}
}
void analyze(S* r)
{
r.nextCapturedIndex++;
}
dmd -O -inline -c foo.d
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list