www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Compilation bug in LDC 0.12.0 with fasta Benchmark

reply "Thomas Mader" <thomas.mader gmail.com> writes:
The benchmark [1] compiles and runs without problems with gdc and 
dmd.
With LDC 0.12.0 the compilation executes without problems but the 
executable run with './fasta_2 500' results in no console output.

If someone can confirm this bug for the newest LDC version then I 
will create a bugzilla entry.

[1] 
https://github.com/ThomasMader/benchmark/blob/master/src/fasta_2.d

Thomas
Jul 06 2014
next sibling parent "bearophile" <bearophileHUGS lycos.com> writes:
Thomas Mader:

 If someone can confirm this bug for the newest LDC version then 
 I will create a bugzilla entry.

 [1] 
 https://github.com/ThomasMader/benchmark/blob/master/src/fasta_2.d

 Thomas
Compiled on Windows 32 with the latest ldc2 that program seems to work correctly. Bye, bearophile
Jul 06 2014
prev sibling next sibling parent Christian Kamm <kamm incasoftware.de> writes:
On 06.07.2014 15:42, Thomas Mader wrote:
 The benchmark [1] compiles and runs without problems with gdc and dmd.
 With LDC 0.12.0 the compilation executes without problems but the
 executable run with './fasta_2 500' results in no console output.

 If someone can confirm this bug for the newest LDC version then I will
 create a bugzilla entry.

 [1] https://github.com/ThomasMader/benchmark/blob/master/src/fasta_2.d
Works for me with LDC master using -O -release. Cheers, Christian
Jul 06 2014
prev sibling parent reply "David Nadlinger" <code klickverbot.at> writes:
Hi Thomas,

On Sunday, 6 July 2014 at 13:42:28 UTC, Thomas Mader wrote:
 With LDC 0.12.0 the compilation executes without problems but 
 the executable run with './fasta_2 500' results in no console 
 output.
Could you please try again with LDC 0.13.0? I also can't reproduce the failure with latest Git master. David
Jul 06 2014
parent "Thomas Mader" <thomas.mader gmail.com> writes:
On Sunday, 6 July 2014 at 14:35:33 UTC, David Nadlinger wrote:
 Could you please try again with LDC 0.13.0? I also can't 
 reproduce the failure with latest Git master.
LDC 0.13.0 fixed the problem, tanks very much! Thomas
Jul 06 2014