digitalmars.D.bugs - [Issue 9096] New: comsub bug with chained function calls, optimization and attributes
- d-bugmail puremagic.com (35/35) Nov 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9096
- d-bugmail puremagic.com (10/10) Nov 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9096
- d-bugmail puremagic.com (11/11) Feb 17 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9096
http://d.puremagic.com/issues/show_bug.cgi?id=9096 Summary: comsub bug with chained function calls, optimization and attributes Product: D Version: unspecified Platform: All OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dawg dawgfoto.de cat > bug.d << CODE class Foo { size_t tsize() { return 0; } inout(Foo) next() nothrow pure inout { return this; } } void bug() { auto foo = new Foo(); auto sz = foo.next().tsize(); } CODE dmd -c -m32 -O -release -inline bug.d Internal error: backend/cgcod.c 2114 ------ This seems to be OSX32 only. This happens only with 'nothrow pure inout'. This happens only with '-O -release -inline'. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9096 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major This blocks https://github.com/D-Programming-Language/druntime/pull/359. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9096 Same problem occurs in Windows7 (64bit) platform with git head (b729055). output: ---- DMD v2.062 DEBUG el:0035139C cnt=2 cs=255 var TY* foo Internal error: backend\cgcod.c 2188 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 17 2013