dmd -O causes incorrect output

Saurabh Das saurabh.das at gmail.com
Mon Jan 25 18:45:43 UTC 2021


On Monday, 25 January 2021 at 18:19:24 UTC, H. S. Teoh wrote:
> On Mon, Jan 25, 2021 at 06:07:46PM +0000, Saurabh Das via 
> Digitalmars-d-learn wrote:
>> [...]
> [...]
>> [...]
>
> It's probably a bug. File a bug on bugzilla: 
> https://issues.dlang.org
>
>
>> [...]
> [...]
>
> DMD's backend is known to have obscure bugs that crop up every 
> so often. If this issue is being a showstopper, consider 
> switching to LDC or GDC instead.  (You might want to try the 
> same code with LDC/GDC anyway, just to see whether they have 
> the same problem. My guess is they don't.)
>
>
> T

LDMD2 seems to not suffer from this issue.


More information about the Digitalmars-d-learn mailing list