https://issues.dlang.org/show_bug.cgi?id=20441
--- Comment #3 from Don ---
And here is what the optimizer produces. The problematic instruction is
highlighted.
0x5558dbe8 <+0>: push %rbp
0x5558dbe9 <+1>: mov%rsp,%rbp
0x5558dbec <+4>: lea
https://issues.dlang.org/show_bug.cgi?id=20441
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--
https://issues.dlang.org/show_bug.cgi?id=20441
--- Comment #2 from Don ---
On any non-ancient DMD version, -fPIC is enabled by default in the dmd.conf
file.
I have run the testcase on 2.078 with -fPIC removed from the dmd.conf file. It
requires both -fPIC and -O to trigger the bug.
--
https://issues.dlang.org/show_bug.cgi?id=20441
Mathias LANG changed:
What|Removed |Added
CC||pro.mathias.l...@gmail.com
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=20441
Don changed:
What|Removed |Added
Keywords||industry
--
https://issues.dlang.org/show_bug.cgi?id=20441
Don changed:
What|Removed |Added
Keywords||wrong-code
--