Bug 986 – Internal error: e2ir.c 1098

Status
RESOLVED
Resolution
WORKSFORME
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2007-02-19T15:14:00Z
Last change time
2014-02-16T15:25:50Z
Assigned to
bugzilla
Creator
benoit

Comments

Comment #0 by benoit — 2007-02-19T15:14:32Z
Sorry, i have no sample. I (and another one) get this when i try to compile the sources of my swt port on linux. DMD 1.005 works, DMD 1.006 gives this error. It is a huge amount of code. Probably out of memory or something? If you want, you can checkout tioport at rev 157 and tango at revision at 1717. Go to the tioport dir ports/swt-3.2.1-linux and do a "make example_paint"
Comment #1 by bugzilla — 2007-02-20T03:18:26Z
It may relate to attempting to use: a.new Foo; where Foo is not a class nested within a.
Comment #2 by benoit — 2007-02-25T06:31:50Z
Still present with the Bond revision 1.007. Here comes a sample: class Adapter { void func(){ } } class Foo { class AnonAdapter : Adapter { } void func(){ Adapter a = cast( Adapter )( new AnonAdapter() ); } }
Comment #3 by thomas-dloop — 2007-03-08T10:30:00Z
Comment #4 by bugzilla — 2007-04-12T05:21:17Z
Works with DMD 1.011.