Bug 8996 – [ICE](e2ir.c line 768) with bigint main-imported
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-11-11T03:05:00Z
Last change time
2012-11-22T14:21:06Z
Keywords
ice, rejects-valid
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0 by bearophile_hugs — 2012-11-11T03:05:54Z
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.)
Comment #1 by bugzilla — 2012-11-14T19:33:25Z
It compile fine for me with the latest.
Comment #2 by bearophile_hugs — 2012-11-22T14:21:06Z
The problem is not gone, but it's a little less big. Instead of reopening this, I have moved it the new Issue 9057