[Issue 778] New: -inline: Assertion failure: '!v->csym' on line 450 in file 'glue.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 30 06:48:18 PST 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 at digitalmars.com
        ReportedBy: deewiant at 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


-- 



More information about the Digitalmars-d-bugs mailing list