Bug 778 – -inline: Assertion failure: '!v->csym' on line 450 in file 'glue.c'

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-12-30T08:48:00Z
Last change time
2014-02-15T13:19:29Z
Keywords
diagnostic, ice-on-valid-code, rejects-valid
Assigned to
bugzilla
Creator
matti.niemenmaa+dbugzilla

Comments

Comment #0 by matti.niemenmaa+dbugzilla — 2006-12-30T08:48:17Z
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
Comment #1 by thomas-dloop — 2006-12-31T05:12:23Z
Comment #2 by bugzilla — 2007-01-03T22:55:49Z
Fixed DMD 1.00