www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - "dmd -O" does not support Mir Algorithm

reply Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
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
Oct 29 2017
parent reply bauss <jj_1337 live.dk> writes:
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
Oct 30 2017
next sibling parent Jonathan M Davis <newsgroup.d jmdavisprog.com> writes:
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
Oct 30 2017
prev sibling parent Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
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.
Oct 30 2017