April 10, 2008 [Issue 1981] New: Internal error: ..\ztc\cgcod.c 1523 when using -O -inline -release | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1981 Summary: Internal error: ..\ztc\cgcod.c 1523 when using -O - inline -release Product: D Version: 1.028 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: sjguy@cs.unc.edu I can only get it to happen with my full code base ~2,000 lines, if I can find a smaller failure case I'll post it. The problem seems to be very fragile. If I don't inline it goes away, if I don't use release mode it goes away, or if I don't optimize it goes away...it only happens with all 3 options enabled. Also if I switch from: bool func(float2f s, float2f e){ bool retval = false; retval |= foo(s, e, a, b); retval |= foo(s, e, b, c); retval |= foo(s, e, c, a); return retval; } To: bool func(float2f s, float2f e){ bool retval = false; retval = foo(s, e, c, a) || foo(s, e, b, c) || foo(s, e, a, b); return retval; } The problem goes away. This may be related to: http://d.puremagic.com/issues/show_bug.cgi?id=1709 -- |
June 02, 2009 [Issue 1981] ICE(cgcod.c 1523) -O -inline -release, no test case | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1981 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Don <clugdbug@yahoo.com.au> 2009-06-02 16:31:01 PDT --- Unfortunately neither 1981 nor 1709 has a test case. Almost certainly a duplicate. *** This issue has been marked as a duplicate of issue 1709 *** -- 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