digitalmars.D.bugs - [Issue 9870] New: Instruction scheduling error
- d-bugmail puremagic.com (28/28) Apr 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9870
- d-bugmail puremagic.com (9/9) Apr 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9870
http://d.puremagic.com/issues/show_bug.cgi?id=9870 Summary: Instruction scheduling error Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bugzilla digitalmars.com 13:43:25 PDT --- The following code from the test suite sdtor.d: ------------------- struct S20 { static char[] r; } void main() { assert(S20.r == ""); } ------------------- Fails on 32 bit linux when compiled with -O. The problem is the XOR EAX,EAX gets scheduled before another instruction that sets the flags. The problem exists on all dmd targets. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 03 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9870 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 03 2013