www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 986] New: Internal error: e2ir.c 1098

reply d-bugmail puremagic.com writes:
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"


-- 
Feb 19 2007
next sibling parent d-bugmail puremagic.com writes:
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.


-- 
Feb 20 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
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() );
    }
}


-- 
Feb 25 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=986


benoit tionex.de changed:

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




-- 
Feb 25 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
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


-- 
Mar 08 2007
prev sibling parent d-bugmail puremagic.com writes:
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.


-- 
Apr 12 2007