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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 19 01:18:12 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3006


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE(e2ir.c) template module |ICE(e2ir.c, tocsym.c)
                   |using array operation       |template module using array
                   |                            |operation




--- Comment #1 from Don <clugdbug at yahoo.com.au>  2009-05-19 01:18:11 PDT ---
Fails also on D1 with a bizarre error message. Where the heck did variable 'p'
come from?

dmd bug2.d bug.d  (order is important).
================
Error: variable p forward referenced
Error: variable p forward referenced
linkage = 0
Assertion failure: '0' on line 262 in file 'tocsym.c'

abnormal program termination
===========

bug.d
------
import bug2;
void main()
{
    foo!(long)();
}
------
bug2.d
------
void foo(T)() {
   long[] a;
   a[] = -a[];
}

-- 
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