Comment #0 by ellery-newcomer — 2012-02-13T11:32:09Z
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:
[email protected](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.
Comment #1 by ellery-newcomer — 2012-02-13T11:33:18Z
Created attachment 1074
teh codez
why did attachment creation fail? why did I know it would?
Comment #2 by ellery-newcomer — 2012-02-13T15:19:49Z
At least on dmd 2.057..
The 2.058 beta seems not to exhibit this behavior.