[Issue 7497] New: optimizer/inliner misplaces load instruction
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 13 11:32:11 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7497
Summary: optimizer/inliner misplaces load instruction
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: ellery-newcomer at utulsa.edu
--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2012-02-13 11:32:09 PST ---
At least I'm guessing that is what is happening, as my intel x86_64 fu is weak.
the compilation:
dmd -O -inline xyz
the fireworks:
core.exception.AssertError at xyz.d(61): dookie 6
the code:
attached, I hope. Offending line is
assert((z=xyz1!byte(0,8,5,6)) == 6,format("dookie %s",z)); // yay! 6==6 is
false!
Compiled without -O or -inline, or if the preceding assertion is removed, or if
the following calls are removed, the assertion passes. This one was lots of fun
to reduce.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list