digitalmars.D.bugs - [Issue 14323] New: Bad code generation in dfmt
- via Digitalmars-d-bugs (24/24) Mar 23 2015 https://issues.dlang.org/show_bug.cgi?id=14323
https://issues.dlang.org/show_bug.cgi?id=14323 Issue ID: 14323 Summary: Bad code generation in dfmt Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: wrong-code Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: briancschott gmail.com dfmt at commit 48bc7ba0c2c115d3ba3175b591da4b46db57cb95 exhibits a code generation bug. dfmt is located at https://github.com/Hackerpilot/dfmt To reproduce, check out that specific commit and run "make test" with the line containing "version = WTF_DMD;" commented out. The code also seems to be sensitive to whether or not the "-O" flag is enabled. I've inspected the ASM dumps of the program and haven't been able to figure out exactly where things are going wrong. I'll work on reducing this to a smaller test case. --
Mar 23 2015