https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97644
Bug ID: 97644 Summary: FAIL: gdc.dg/gdc204.d due to ICE in finish_thunk Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: msebor at gcc dot gnu.org Target Milestone: --- While testing my patch for an unrelated bug I see the gdc.dg/gdc204.d test fail with the following ICE: Executing on host: /ssd/test/build/gcc-97556/gcc/testsuite/gdc/../../gdc -B/ssd/test/build/gcc-97556/gcc/testsuite/gdc/../../ /ssd/test/src/gcc/97556/gcc/testsuite/gdc.dg/gdc204.d -fdiagnostics-plain-output -I/ssd/test/build/gcc-97556/x86_64-pc-linux-gnu/./libphobos/libdruntime -I/ssd/test/src/gcc/97556/gcc/testsuite/../../libphobos/libdruntime -I/ssd/test/src/gcc/97556/gcc/testsuite/../../libphobos/src -S -o gdc204.s (timeout = 300) spawn -ignore SIGHUP /ssd/test/build/gcc-97556/gcc/testsuite/gdc/../../gdc -B/ssd/test/build/gcc-97556/gcc/testsuite/gdc/../../ /ssd/test/src/gcc/97556/gcc/testsuite/gdc.dg/gdc204.d -fdiagnostics-plain-output -I/ssd/test/build/gcc-97556/x86_64-pc-linux-gnu/./libphobos/libdruntime -I/ssd/test/src/gcc/97556/gcc/testsuite/../../libphobos/libdruntime -I/ssd/test/src/gcc/97556/gcc/testsuite/../../libphobos/src -S -o gdc204.s /ssd/test/src/gcc/97556/gcc/testsuite/gdc.dg/gdc204.d:9:1: internal compiler error: Segmentation fault 0xe979da crash_signal /ssd/test/src/gcc/97556/gcc/toplev.c:330 0x66e57a expand_thunk(cgraph_node*, bool, bool) /ssd/test/src/gcc/97556/gcc/symtab-thunks.cc:334 0x9965c8 finish_thunk /ssd/test/src/gcc/97556/gcc/d/decl.cc:1708 0x9965c8 make_thunk(FuncDeclaration*, int) /ssd/test/src/gcc/97556/gcc/d/decl.cc:1820 0x9b5026 TypeInfoVisitor::layout_base_vtable(ClassDeclaration*, ClassDeclaration*, unsigned long) /ssd/test/src/gcc/97556/gcc/d/typeinfo.cc:509 0x9b5690 TypeInfoVisitor::visit(TypeInfoClassDeclaration*) /ssd/test/src/gcc/97556/gcc/d/typeinfo.cc:972 0x9ae5ef TypeInfoClassDeclaration::accept(Visitor*) /ssd/test/src/gcc/97556/gcc/d/dmd/declaration.h:343 0x9ae5ef layout_classinfo(ClassDeclaration*) /ssd/test/src/gcc/97556/gcc/d/typeinfo.cc:1172 0x998a1b DeclVisitor::visit(ClassDeclaration*) /ssd/test/src/gcc/97556/gcc/d/decl.cc:513 0x99397f DeclVisitor::build_dsymbol(Dsymbol*) /ssd/test/src/gcc/97556/gcc/d/decl.cc:145 0x99397f build_decl_tree(Dsymbol*) /ssd/test/src/gcc/97556/gcc/d/decl.cc:1015 0x9a5f50 build_module_tree(Module*) /ssd/test/src/gcc/97556/gcc/d/modules.cc:729 0x996ecb DeclVisitor::visit(Module*) /ssd/test/src/gcc/97556/gcc/d/decl.cc:162 0x99397f DeclVisitor::build_dsymbol(Dsymbol*) /ssd/test/src/gcc/97556/gcc/d/decl.cc:145 0x99397f build_decl_tree(Dsymbol*) /ssd/test/src/gcc/97556/gcc/d/decl.cc:1015 0x990952 d_parse_file /ssd/test/src/gcc/97556/gcc/d/d-lang.cc:1236 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. compiler exited with status 1 FAIL: gdc.dg/gdc204.d (internal compiler error) FAIL: gdc.dg/gdc204.d (test for excess errors)