Thread overview
Compilation bug in LDC 0.12.0 with fasta Benchmark
Jul 06, 2014
Thomas Mader
Jul 06, 2014
bearophile
Jul 06, 2014
Christian Kamm
Jul 06, 2014
David Nadlinger
Jul 06, 2014
Thomas Mader
July 06, 2014
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
July 06, 2014
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
July 06, 2014
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

July 06, 2014
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
July 06, 2014
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