From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 03C1B3846416; Mon, 5 Apr 2021 22:28:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03C1B3846416 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/99920] New: [10 regression] ICE building gcc 10 on power 7 BE Date: Mon, 05 Apr 2021 22:28:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2021 22:28:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99920 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 looki= ng). Configure used: /home/seurer/gcc/git/gcc-10-test/configure --enable-languages=3Dc,fortran,c++ --with-cpu=3Dpower7 --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-in= clude -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=3Dhidden -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 expansio= n 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:504= 0=