Bug 737 – cc1d: d/d-decls.cc:227: virtual Symbol* VarDeclaration::toSymbol(): Assertion `init != __null' failed.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2006-12-25T06:25:00Z
Last change time
2015-06-09T05:14:56Z
Keywords
ice-on-valid-code
Assigned to
dvdfrdmn
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-12-25T06:25:47Z
# # void foo(){ # const int x; # } # cc1d: d/d-decls.cc:227: virtual Symbol* VarDeclaration::toSymbol(): Assertion `init != __null' failed. nocompile/c/const_38_B.d: In function `foo': nocompile/c/const_38_B.d:15: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. test case: http://dstress.kuehne.cn/nocompile/c/const_38_B.d
Comment #1 by dvdfrdmn — 2007-09-23T18:17:45Z
Fixed some time ago.