template9.d again

Johannes Pfau nospam at example.com
Sat Dec 21 16:06:25 PST 2013


It seems there are still some issues with template9.d. It doesn't show
up in the test suite as it only runs one test for template9.d (why?) and
that test doesn't use the '-g' parameter. But when compiling template9.d
with '-g':

/opt/gdc/bin/gdc -g runnable/template9.d -o template9.exe

the compiler crashes:
0xa5bb8f crash_signal
	../../gcc-4.9-20131201/gcc/toplev.c:336
0x7ac07e dwarf2out_decl(tree_node*)
	../../gcc-4.9-20131201/gcc/dwarf2out.c:20602
0x9b2e52 rest_of_type_compilation(tree_node*, int)
	../../gcc-4.9-20131201/gcc/passes.c:280
0x69832f EnumDeclaration::toObjFile(int)
	../../gcc-4.9-20131201/gcc/d/d-objfile.cc:663
0x6c9057 DeclarationExp::toElem(IRState*)
	../../gcc-4.9-20131201/gcc/d/d-elem.cc:1972
0x6c8206 Expression::toElemDtor(IRState*)
	../../gcc-4.9-20131201/gcc/d/d-elem.cc:1702
0x6cc9d7 ExpStatement::toIR(IRState*)
	../../gcc-4.9-20131201/gcc/d/d-toir.cc:533
0x6cc8d8 CompoundStatement::toIR(IRState*)
	../../gcc-4.9-20131201/gcc/d/d-toir.cc:501
0x6cc8d8 CompoundStatement::toIR(IRState*)
	../../gcc-4.9-20131201/gcc/d/d-toir.cc:501
0x69a28e FuncDeclaration::toObjFile(int)
	../../gcc-4.9-20131201/gcc/d/d-objfile.cc:1265
0x69cc46 Module::genobjfile(int)
	../../gcc-4.9-20131201/gcc/d/d-objfile.cc:1452
0x68943f d_parse_file()
	../../gcc-4.9-20131201/gcc/d/d-lang.cc:1132



More information about the D.gnu mailing list