https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66994
Bug ID: 66994 Summary: [6 Regression] ICE: Segmentation fault during PGO bootstrap Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Seen on ppc64le during stageprofile build of libstdc++-v3: libtool: compile: /home/trippels/gcc_build_dir__/./gcc/xgcc -shared-libgcc -B/home/trippels/gcc_build_dir__/./gcc -nostdinc++ -L/home/trippels/gcc_build_dir__/powerpc64le-unknown-linux-gnu/libstdc++-v3/src -L/home/trippels/gcc_build_dir__/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/trippels/gcc_build_dir__/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/local/powerpc64le-unknown-linux-gnu/bin/ -B/usr/local/powerpc64le-unknown-linux-gnu/lib/ -isystem /usr/local/powerpc64le-unknown-linux-gnu/include -isystem /usr/local/powerpc64le-unknown-linux-gnu/sys-include -I/home/trippels/gcc/libstdc++-v3/../libgcc -I/home/trippels/gcc_build_dir__/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/trippels/gcc_build_dir__/powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/trippels/gcc/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=eh_call.lo -g -O2 -D_GNU_SOURCE -c ../../../../gcc/libstdc++-v3/libsupc++/eh_call.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o eh_call.o In file included from /usr/include/stdlib.h:42:0, from /home/trippels/gcc_build_dir__/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cstdlib:72, from ../../../../gcc/libstdc++-v3/libsupc++/eh_call.cc:26: /usr/include/bits/waitstatus.h:73:28: internal compiler error: Segmentation fault unsigned int __w_coredump:1; /* Set if dumped core. */ ^ 0x1106c737 crash_signal ../../gcc/gcc/toplev.c:352 0x103483d4 make_id_declarator ../../gcc/gcc/cp/parser.c:1420 0x1036bfd7 cp_parser_member_declaration ../../gcc/gcc/cp/parser.c:21003 0x1036d09b cp_parser_member_specification_opt ../../gcc/gcc/cp/parser.c:20707 0x1036d09b cp_parser_class_specifier_1 ../../gcc/gcc/cp/parser.c:19899 0x1036d09b cp_parser_class_specifier ../../gcc/gcc/cp/parser.c:20135 0x1037208b cp_parser_type_specifier ../../gcc/gcc/cp/parser.c:14733 0x1037273b cp_parser_decl_specifier_seq ../../gcc/gcc/cp/parser.c:11969 0x1036b907 cp_parser_member_declaration ../../gcc/gcc/cp/parser.c:20852 0x1036d09b cp_parser_member_specification_opt ../../gcc/gcc/cp/parser.c:20707 0x1036d09b cp_parser_class_specifier_1 ../../gcc/gcc/cp/parser.c:19899 0x1036d09b cp_parser_class_specifier ../../gcc/gcc/cp/parser.c:20135 0x1037208b cp_parser_type_specifier ../../gcc/gcc/cp/parser.c:14733 0x1037273b cp_parser_decl_specifier_seq ../../gcc/gcc/cp/parser.c:11969 0x10394223 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:11545 0x103a040b cp_parser_block_declaration ../../gcc/gcc/cp/parser.c:11492 0x10351c8b cp_parser_declaration ../../gcc/gcc/cp/parser.c:11389 0x103acbef cp_parser_declaration_seq_opt ../../gcc/gcc/cp/parser.c:11275 0x103ad633 cp_parser_linkage_specification ../../gcc/gcc/cp/parser.c:12162 0x10351dc7 cp_parser_declaration ../../gcc/gcc/cp/parser.c:11333 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.