[Issue 2080] ICE(D1 only, mangle.c) alias corrupts type inference of static variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 10 02:06:45 PST 2009


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Segfault(D1 only, mangle.c) |ICE(D1 only, mangle.c)
                   |alias corrupts type         |alias corrupts type
                   |inference of static         |inference of static
                   |variables                   |variables


--- Comment #6 from Don <clugdbug at yahoo.com.au> 2009-11-10 02:06:45 PST ---
I've moved the new test case to bug#3493 (segfault, cast.c). The original bug
now generates a forward reference error; the reduced test case (below) is now
an ICE instead of a segfault. This should be considered as the test-case for
this bug.
----
alias int * any_old_alias;
const bar = foo;
int * foo = null;
----

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