http://d.puremagic.com/issues/show_bug.cgi?id=5689

           Summary: [64-Bit] uniform() fails with -profile
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: mrmoc...@gmx.de


--- Comment #0 from Trass3r <mrmoc...@gmx.de> 2011-03-03 01:04:42 PST ---
import std.random;

void main()
{
    auto f = uniform(0.0, 1.0);
}

$ dmd -m64 -profile profile.d
$ ./profile 
object.Exception@dmd/linux/bin/../../src/phobos/std/random.d(932): Invalid
distribution range: [0, 0)
----------------

Compiling it without -profile or m64 works.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to