February 22, 2010 [Issue 3842] New: ICE(expression.c) using pointer in CTFE | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3842 Summary: ICE(expression.c) using pointer in CTFE Product: D Version: 1.047 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-valid-code, patch Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@yahoo.com.au> 2010-02-22 14:32:11 PST --- Regression since 1.047 and 2.032. --- struct Bug3842{ int x; } int test3842(int z) { Bug3842 w; w.x = 3; return (*(&w)).x; } static assert(test3842(51)==51); --- It's just crashing while printing the error message. PATCH: in interpret.c, DotVarExp::interpret. else - error("%s.%s is not yet implemented at compile time", ex->toChars(), var->toChars()); + error("%s.%s is not yet implemented at compile time", e1->toChars(), var->toChars()); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 09, 2010 [Issue 3842] ICE(expression.c) using pointer in CTFE | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=3842 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-04-09 13:41:25 PDT --- Fixed DMD1.058 and 2.043. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation