Thread overview
"dmd -O" does not support Mir Algorithm
Oct 30, 2017
Ilya Yaroshenko
Oct 30, 2017
bauss
Oct 30, 2017
Jonathan M Davis
Oct 30, 2017
Ilya Yaroshenko
October 30, 2017
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

October 30, 2017
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
October 30, 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

October 30, 2017
On Monday, 30 October 2017 at 08:34:16 UTC, bauss 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

It is not always reproducible. It fails for me on OSX for old 2.072 too. Looks like it depends on how DMD was configured and compiled.