https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68760
Bug ID: 68760 Summary: [6 Regression] ICE in pp_string (pretty-print.c:909) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Hello. Starting from r228131, running: $ cat tramp3d-v4.ii class Init { public: Init(); } a; $ ./xgcc -B. tramp3d-v4.ii -c -fdump-ipa-cgraph causes: cc1plus: internal compiler error: Segmentation fault 0xe39480 crash_signal ../../gcc/toplev.c:353 0x16fb525 pp_string(pretty_printer*, char const*) ../../gcc/pretty-print.c:909 0x16fa2d3 pp_format(pretty_printer*, text_info*) ../../gcc/pretty-print.c:549 0x16fb2dd pp_printf(pretty_printer*, char const*, ...) ../../gcc/pretty-print.c:856 0x8285d4 dump_global_iord ../../gcc/cp/error.c:957 0x8292d7 dump_decl ../../gcc/cp/error.c:1197 0x82d444 decl_as_string(tree_node*, int) ../../gcc/cp/error.c:2855 0x82d52d lang_decl_name(tree_node*, int, bool) ../../gcc/cp/error.c:2890 0x8c3b9f cxx_printable_name_internal ../../gcc/cp/tree.c:2097 0x8c3c1a cxx_printable_name(tree_node*, int) ../../gcc/cp/tree.c:2106 0xa1f192 symtab_node::asm_name() const ../../gcc/symtab.c:451 0xa3667d analyze_functions ../../gcc/cgraphunit.c:1049 0xa39ed4 symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2540 Thanks, Martin