www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8996] New: [ICE](e2ir.c line 768) with bigint main-imported

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8996

           Summary: [ICE](e2ir.c line 768) with bigint main-imported
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



void foo(T)(T) {}
void main() {
    import std.bigint;
    foo(BigInt());
}



DMD 2.061alpha gives:

ZERO
Internal error: e2ir.c 768


I don't know if this is a regression.
(And I don't know where that ZERO comes from.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 11 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8996


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |WORKSFORME



19:33:25 PST ---
It compile fine for me with the latest.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 14 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8996




The problem is not gone, but it's a little less big. Instead of reopening this,
I have moved it the new Issue 9057

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