D.gnu - [Issue 1415] New: gdc crash
- d-bugmail puremagic.com (38/38) Aug 12 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1415
- d-bugmail puremagic.com (13/13) Sep 02 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1415
- d-bugmail puremagic.com (10/10) Sep 05 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1415
- d-bugmail puremagic.com (5/5) Feb 25 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1415
http://d.puremagic.com/issues/show_bug.cgi?id=1415 Summary: gdc crash Product: DGCC aka GDC Version: 0.23 Platform: Other OS/Version: Other Status: NEW Severity: normal Priority: P2 Component: glue layer AssignedTo: dvdfrdmn users.sf.net ReportedBy: sean chittenden.org See sample code. Very easy to reproduce. $ gdc -o /tmp/bug.o -c /tmp/bug.d /tmp/bug.d:7: Error: Need 'this' to access member f /tmp/bug.d:8: Error: Need 'this' to access member f /tmp/bug.d: In function 'init': /tmp/bug.d:8: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Exit 1 class Foo { void bar() { } } class Bug { static Bug init() { f = new Foo(); f.bar(); Bug ret = new Bug(); return ret; } private: Foo f; } --
Aug 12 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1415 Simpler example. module bug; class X { char[] name; static void a() { assert(name is null); } } void main() { } --
Sep 02 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1415 dvdfrdmn users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Keywords| |ice-on-invalid-code Resolution| |FIXED Fixed in svn rev 151 / release 0.25 --
Sep 05 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1415 Added to DStress as http://dstress.kuehne.cn/nocompile/t/this_17_A.d --
Feb 25 2008