[Issue 3006] ICE(e2ir.c, tocsym.c) template module using array operation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 20 13:06:23 PDT 2009


HOSOKAWA Kenchi <hskwk at inter7.jp> changed:

           What    |Removed                     |Added
                 CC|                            |hskwk at inter7.jp

--- Comment #3 from HOSOKAWA Kenchi <hskwk at inter7.jp>  2009-08-20 13:06:22 PDT ---
(In reply to comment #2)

Much thanks for your analysis, Don.
I met almost the same error today.

// bugx.d
void foo() {
    real[3] s, a, b;
    s[] = a[] + b[];

// bug.d
void bar() {
    foo; // p2 Internal error: e2ir.c 632 @ DMD 2.031

This ICE occurs without template in this case.
Compiling bugx.d cause no error, calling foo from OTHER module cause ICE.

Besides, compiler switchs affect:
( -release && !-unittest ) cause this ICE.

Anyway the root cause is obviously the same.

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

More information about the Digitalmars-d-bugs mailing list