[Issue 5689] New: [64-Bit] uniform() fails with -profile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 3 01:07:34 PST 2011


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: nobody at puremagic.com
        ReportedBy: mrmocool at gmx.de


--- Comment #0 from Trass3r <mrmocool at 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 at 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: -------


More information about the Digitalmars-d-bugs mailing list