https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70890
Bug ID: 70890
Summary: [7 regression] r235660 miscompiles stage2 compiler on
ia64
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
CC: amodra at gmail dot com
Target Milestone: ---
Target: ia64-*-*
Starting program: /usr/local/gcc/gcc-20160501/Build/gcc/cc1 -fpreprocessed
libgcc2.i -quiet -O2 -fbuilding-libgcc -fno-stack-protector -fPIC
-fvisibility=hidden
Failed to read a valid object file image from memory.
Program received signal SIGSEGV, Segmentation fault.
0x4000000000ed2911 in hash_table<uid_decl_hasher,
xcallocator>::find_with_hash(tree_node* const&, unsigned int) ()
(gdb) bt
#0 0x4000000000ed2911 in hash_table<uid_decl_hasher,
xcallocator>::find_with_hash(tree_node* const&, unsigned int) ()
#1 0x4000000000ec7d60 in analyze_all_variable_accesses() ()
#2 0x4000000000eca0f0 in perform_intra_sra() ()
#3 0x4000000000b085e0 in execute_one_pass(opt_pass*) ()
#4 0x4000000000b094c0 in execute_pass_list_1(opt_pass*) ()
#5 0x4000000000b09510 in execute_pass_list_1(opt_pass*) ()
#6 0x4000000000b09630 in execute_pass_list(function*, opt_pass*) ()
#7 0x4000000000b05140 in do_per_function_toporder(void (*)(function*, void*),
void*) ()
#8 0x4000000000b0aa10 in execute_ipa_pass_list(opt_pass*) ()
#9 0x400000000049a6e0 in symbol_table::compile() [clone .part.45] ()
#10 0x40000000004a0310 in symbol_table::finalize_compilation_unit() ()
#11 0x4000000000cef1c0 in compile_file() ()
#12 0x400000000019f590 in toplev::main(int, char**) ()
#13 0x40000000001a3850 in main ()
(gdb) x/i $pc
=> 0x4000000000ed2911
<_ZN10hash_tableI15uid_decl_hasher11xcallocatorE14find_with_hashERKP9tree_nodej+17>:
ld8 r10=[r32]
(gdb) i reg r32
r32 0xffffffffffffffff -1