[Issue 6736] New: ICE (cgcod.c 1672) with alias this and certain structs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 27 08:29:05 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6736
Summary: ICE (cgcod.c 1672) with alias this and certain structs
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: ice-on-invalid-code
Severity: minor
Priority: P3
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-09-27 08:28:32 PDT ---
struct S1
{
struct S2 // must be 8 bytes in size
{
uint a, b;
}
S2 s2;
alias s2 this;
}
void test()
{
S1 c;
c = c + c;
}
I'm not sure what's going on - particularly why this even gets to the backend.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list