https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99920
Bug ID: 99920 Summary: [10 regression] ICE building gcc 10 on power 7 BE Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:6aa75d3740c309aeead9c430a6779f4a347f4403, r10-9659 This occurs at this commit but it is not the source of it (I am still looking). Configure used: /home/seurer/gcc/git/gcc-10-test/configure --enable-languages=c,fortran,c++ --with-cpu=power7 --enable-bootstrap --enable-multilib A whole bunch of ICEs like the following occur when building gcc on power 7 BE. It does not occurs on power 8 BE. /home/seurer/gcc/git/build/gcc-10-test/./gcc/xgcc -B/home/seurer/gcc/git/build/gcc-10-test/./gcc/ -B/home/seurer/gcc/git/install/gcc-10-test/powerpc64-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-10-test/powerpc64-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-10-test/powerpc64-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-10-test/powerpc64-unknown-linux-gnu/sys-include -fno-checking -g -O2 -m32 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -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-10-test/libgcc -I/home/seurer/gcc/git/gcc-10-test/libgcc/. -I/home/seurer/gcc/git/gcc-10-test/libgcc/../gcc -I/home/seurer/gcc/git/gcc-10-test/libgcc/../include -I/home/seurer/gcc/git/gcc-10-test/libgcc/../libdecnumber/dpd -I/home/seurer/gcc/git/gcc-10-test/libgcc/../libdecnumber -DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /home/seurer/gcc/git/gcc-10-test/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS during GIMPLE pass: store-merging In file included from /home/seurer/gcc/git/gcc-10-test/libgcc/libgcc2.c:56: /home/seurer/gcc/git/gcc-10-test/libgcc/libgcc2.c: In function '__muldi3': /home/seurer/gcc/git/gcc-10-test/libgcc/libgcc2.h:219:20: internal compiler error: Segmentation fault 219 | #define __NDW(a,b) __ ## a ## di ## b | ^~ /home/seurer/gcc/git/gcc-10-test/libgcc/libgcc2.h:273:18: note: in expansion of macro '__NDW' 273 | #define __muldi3 __NDW(mul,3) | ^~~~~ /home/seurer/gcc/git/gcc-10-test/libgcc/libgcc2.c:548:1: note: in expansion of macro '__muldi3' 548 | __muldi3 (DWtype u, DWtype v) | ^~~~~~~~ 0x111d588f crash_signal /home/seurer/gcc/git/gcc-10-test/gcc/toplev.c:328 0x125d1930 trim_filename(char const*) /home/seurer/gcc/git/gcc-10-test/gcc/diagnostic.c:1223 0x125d4273 fancy_abort(char const*, int, char const*) /home/seurer/gcc/git/gcc-10-test/gcc/diagnostic.c:1778 0x10a76dab operand_compare::hash_operand(tree_node const*, inchash::hash&, unsigned int) /home/seurer/gcc/git/gcc-10-test/gcc/fold-const.c:3768 0x10a7766b inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) /home/seurer/gcc/git/gcc-10-test/gcc/fold-const.c:3919 0x1122c2af iterative_hash_expr /home/seurer/gcc/git/gcc-10-test/gcc/tree.h:5207 0x11232c77 tree_operand_hash::hash(tree_node* const&) /home/seurer/gcc/git/gcc-10-test/gcc/tree-hash-traits.h:34 0x1231a2af hash /home/seurer/gcc/git/gcc-10-test/gcc/hash-map-traits.h:50 0x1231b97b get /home/seurer/gcc/git/gcc-10-test/gcc/hash-map.h:184 0x1232fbaf process_store /home/seurer/gcc/git/gcc-10-test/gcc/gimple-ssa-store-merging.c:4883 0x123304a7 execute /home/seurer/gcc/git/gcc-10-test/gcc/gimple-ssa-store-merging.c:5040