Thread overview
[Issue 986] New: Internal error: e2ir.c 1098
Feb 19, 2007
d-bugmail
Feb 20, 2007
d-bugmail
Feb 25, 2007
d-bugmail
Feb 25, 2007
d-bugmail
Mar 08, 2007
d-bugmail
Apr 12, 2007
d-bugmail
February 19, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=986

           Summary: Internal error: e2ir.c 1098
           Product: D
           Version: 1.006
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


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"


-- 

February 20, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=986





------- Comment #1 from bugzilla@digitalmars.com  2007-02-20 03:18 -------
It may relate to attempting to use:

    a.new Foo;

where Foo is not a class nested within a.


-- 

February 25, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=986


benoit@tionex.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benoit@tionex.de




------- Comment #2 from benoit@tionex.de  2007-02-25 06:31 -------
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() );
    }
}


-- 

February 25, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=986


benoit@tionex.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical




-- 

March 08, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=986





------- Comment #3 from thomas-dloop@kuehne.cn  2007-03-08 10:30 -------
Added to DStress as http://dstress.kuehne.cn/run/b/bug_e2ir_1098_A.d http://dstress.kuehne.cn/run/b/bug_e2ir_1098_B.d http://dstress.kuehne.cn/run/b/bug_e2ir_1098_C.d http://dstress.kuehne.cn/run/b/bug_e2ir_1098_D.d


-- 

April 12, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=986


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #4 from bugzilla@digitalmars.com  2007-04-12 05:21 -------
Works with DMD 1.011.


--