https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102081
Bug ID: 102081
Summary: [12 regression] ICE building compiler starting with
r12-3159
Product: gcc
Version: 9.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
g:f075b8c5adcf9cb6336563c472c8d624c54184db, r12-3159
/home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/sys-include
-g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128
-mno-minimal-toc -I. -I. -I../.././gcc -I/home/seurer/gcc/git/gcc-test/libgcc
-I/home/seurer/gcc/git/gcc-test/libgcc/.
-I/home/seurer/gcc/git/gcc-test/libgcc/../gcc
-I/home/seurer/gcc/git/gcc-test/libgcc/../include
-I/home/seurer/gcc/git/gcc-test/libgcc/../libdecnumber/dpd
-I/home/seurer/gcc/git/gcc-test/libgcc/../libdecnumber -DHAVE_CC_TLS -o
decQuad.o -MT decQuad.o -MD -MP -MF decQuad.dep -c
/home/seurer/gcc/git/gcc-test/libgcc/../libdecnumber/decQuad.c
during IPA pass: modref
/home/seurer/gcc/git/gcc-test/libgcc/../libdecnumber/decQuad.c: In function
'__decQuadReduce':
/home/seurer/gcc/git/gcc-test/libgcc/../libdecnumber/decQuad.c:141: internal
compiler error: in verify, at ipa-modref-tree.h:335
141 |
|
0x1088092b modref_ref_node<int>::verify()
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref-tree.h:335
0x1088092b modref_ref_node<int>::insert_access(modref_access_node, unsigned
long, bool)
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref-tree.h:355
0x10880c5f modref_tree<int>::insert(int, int, modref_access_node, bool)
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref-tree.h:616
0x10871ca3 record_access
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref.c:713
0x10873077 analyze_load
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref.c:1217
0x10765a1b walk_stmt_load_store_addr_ops(gimple*, void*, bool (*)(gimple*,
tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*,
void*), bool (*)(gimple*, tree_node*, tree_node*, void*))
/home/seurer/gcc/git/gcc-test/gcc/gimple-walk.c:800
0x10879437 analyze_stmt
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref.c:1268
0x10879437 analyze_function
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref.c:2130
0x1087b3a3 modref_generate
/home/seurer/gcc/git/gcc-test/gcc/ipa-modref.c:2208
0x10a5ca1b execute_ipa_summary_passes(ipa_opt_pass_d*)
/home/seurer/gcc/git/gcc-test/gcc/passes.c:2248
0x104e2fdb ipa_passes
/home/seurer/gcc/git/gcc-test/gcc/cgraphunit.c:2179
0x104e2fdb symbol_table::compile()
/home/seurer/gcc/git/gcc-test/gcc/cgraphunit.c:2289
0x104e6eff symbol_table::compile()
/home/seurer/gcc/git/gcc-test/gcc/cgraphunit.c:2269
0x104e6eff symbol_table::finalize_compilation_unit()
/home/seurer/gcc/git/gcc-test/gcc/cgraphunit.c:2537
commit f075b8c5adcf9cb6336563c472c8d624c54184db (HEAD)
Author: Jan Hubicka <[email protected]>
Date: Thu Aug 26 15:33:56 2021 +0200
Fix off-by-one error in try_merge_with