Thread overview
[Issue 778] New: -inline: Assertion failure: '!v->csym' on line 450 in file 'glue.c'
Dec 30, 2006
d-bugmail
Dec 31, 2006
d-bugmail
Jan 04, 2007
d-bugmail
December 30, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=778

           Summary: -inline: Assertion failure: '!v->csym' on line 450 in
                    file 'glue.c'
           Product: D
           Version: 0.178
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic, ice-on-valid-code, rejects-valid
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: deewiant@gmail.com


void main(char[][] args) {
        foo("foo");
}

void foo(char[] bar) {
        assert (true, bar ~ "foo");
}

If the code above is compiled with -inline, then, in addition to the symptoms described in Issue 777, the compiler dies, having emitted the following:

asdf.d(6): function asdf.foo is a nested function and cannot be accessed from
main
Assertion failure: '!v->csym' on line 450 in file 'glue.c'

abnormal program termination


-- 

December 31, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=778





------- Comment #1 from thomas-dloop@kuehne.cn  2006-12-31 05:12 -------
Added to DStress as http://dstress.kuehne.cn/run/a/assert_18_E.d http://dstress.kuehne.cn/run/a/assert_18_F.d


-- 

January 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=778


bugzilla@digitalmars.com changed:

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




------- Comment #2 from bugzilla@digitalmars.com  2007-01-03 22:55 -------
Fixed DMD 1.00


--