hi,
i just run into a (wrong code gen?) bug that manifests itself only under
certain conditions.
before i file it, i'd like to know if it is still around in the latest DMD
version and/or if other platforms and 64bit code is affected as well.
bug description:
std.algorithm.countUntil fails to
On 6/12/14, 3:20 PM, captaindet wrote:
import std.stdio;
import std.algorithm;
import std.file;// not needed, but if imported, causing trouble, see
below
void main()
{
auto names = ["one","FOO","two","three"];
// wrong code gen(*) with -release -O -inline -noboundscheck or
// with -rel
>> // wrong code gen(*) with -release -O -inline -noboundscheck or
>> // with -release -inline -noboundscheck but only if std.file is imported:
>>
>> auto x = countUntil( names, "FOO" );
>> write(x);
>> if( 0 <= x ) writeln(" found a FOO"); // (*) not found!
>> }
>
>
> I'm runnin
On 2014-06-12 14:20, captaindet wrote:
before i file it, i'd like to know if it is still around in the
latest DMD version and/or if other platforms and 64bit code is
affected as well.
thanks andrew, philippe,
i had the suspicion that it is a windows only problem anyway because the only
thing
On Thursday, 12 June 2014 at 22:14:23 UTC, captaindet wrote:
On 2014-06-12 14:20, captaindet wrote:
before i file it, i'd like to know if it is still around in the
latest DMD version and/or if other platforms and 64bit code is
affected as well.
thanks andrew, philippe,
i had the suspicion th
On 2014-06-12 17:27, Rene Zwanenburg wrote:
On Thursday, 12 June 2014 at 22:14:23 UTC, captaindet wrote:
On 2014-06-12 14:20, captaindet wrote:
before i file it, i'd like to know if it is still around in the
latest DMD version and/or if other platforms and 64bit code is
affected as well.
tha