"dmd -O" does not support Mir Algorithm

Jonathan M Davis newsgroup.d at jmdavisprog.com
Mon Oct 30 08:41:56 UTC 2017


On Monday, October 30, 2017 08:34:16 bauss via Digitalmars-d wrote:
> On Monday, 30 October 2017 at 05:48:16 UTC, Ilya Yaroshenko wrote:
> > Hi,
> >
> > I added unittest-release builds into Travis. LDC works well but
> > DMD fails in few places.
> >
> > One DMD bug was filled [1]. I will explore others when this is
> > fixed. Please use only LDC for builds with O flag for now.
> >
> > [1] https://issues.dlang.org/show_bug.cgi?id=17943
> >
> > Best regards,
> > Ilya
>
> Can't seem to reproduce this: http://rextester.com/SXR47957

Well, that site does say that it's using 2.072.2, which is rather old, and
it gives no indication as to whether it's compiling with -O. I just tried it
on my local 64-bit FreeBSD box with dmd master, and it fails if I compile
with -O but succeeds if I don't compile with -O, which is exactly what the
bug report states.

- Jonathan M Davis



More information about the Digitalmars-d mailing list