https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84259
Bug ID: 84259
Summary: [8 Regression] bootstrap fails in libitm on x86
targets (ICE in ix86_option_override_internal, at
config/i386/i386.c:4948)
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
seen on the trunk with r257435 on all x86 targets building libitm
// gcc version 8.0.1 20180207 (experimental) [trunk revision 257435] (Debian
8-20180207-1)
//
// In file included from
/home/packages/gcc/8/gcc-8-8-20180207/build/gcc/include/x86intrin.h:27,
// from ../../../src/libitm/config/x86/target.h:26,
// from ../../../src/libitm/libitm_i.h:74,
// from ../../../src/libitm/aatree.cc:28:
// /home/packages/gcc/8/gcc-8-8-20180207/build/gcc/include/ia32intrin.h:56:28:
internal compiler error: in ix86_option_over
ride_internal, at config/i386/i386.c:4948
// #pragma GCC target("sse4.2")
// ^
// 0xdeaf3a ix86_option_override_internal
// ../../src/gcc/config/i386/i386.c:4948
// 0xdf8558 ix86_valid_target_attribute_tree(tree_node*, gcc_options*,
gcc_options*)
// ../../src/gcc/config/i386/i386.c:5652
// 0x7770fb ix86_pragma_target_parse
// ../../src/gcc/config/i386/i386-c.c:538
// 0x75e65d handle_pragma_target
// ../../src/gcc/c-family/c-pragma.c:907
// 0x6840fc cp_parser_pragma
// ../../src/gcc/cp/parser.c:38764
// 0x6a7e33 cp_parser_declaration_seq_opt
// ../../src/gcc/cp/parser.c:12595
// 0x6a80cc cp_parser_translation_unit
// ../../src/gcc/cp/parser.c:4559
// 0x6a80cc c_parse_file()
// ../../src/gcc/cp/parser.c:38820
// 0x75c036 c_common_parse_file()
// ../../src/gcc/c-family/c-opts.c:1132
// Please submit a full bug report,
// with preprocessed source if appropriate.
// Please include the complete backtrace with any bug report.