From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1F5C03856975; Mon, 14 Nov 2022 06:50:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F5C03856975 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668408619; bh=y5hx7m4qggloIcdljJmTDBeHArYGudVH7tH7LLcc6sk=; h=From:To:Subject:Date:From; b=LSMrIrSAJC3vkJISF/xYM5VcVNG0JER9jcr7fwh6XxtCNKlEdswzTduLIm+F8Aq1W FkYYzbPSqvXTde/CBg7iJRh0oDUGI2uVDU+Re6b5JKuiprsYwFWBVpqh8c8m9tlaZX K57Fm9V8ATJBhr8inw01XeCzmbTbbFX1nLJAA/Tg= From: "creatorsmithmdt at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107672] New: [13 Regression] ICE during GIMPLE pass: slp Date: Mon, 14 Nov 2022 06:50:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: creatorsmithmdt at gmail dot com 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107672 Bug ID: 107672 Summary: [13 Regression] ICE during GIMPLE pass: slp Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: creatorsmithmdt at gmail dot com Target Milestone: --- The slp GIMPLE pass now ICE's on this code, which it did not previously. Wh= ile I am aware GCJ is not currently part of GCC, the GIMPLE it generates is val= id and should not be ICE'ing. It does not ICE on O1. This bug occurs on my msterstable branch. (https://github.com/Zopolis4/gcj/commits/msterstable) Given that GCJ is not currently part of GCC, and this bug is thus harder to reproduce as one has to compile my fork, is there a better way for me to re= port this? Maybe I could just send the generated GIMPLE that ICE's? ~/g/x/libjava> /bin/bash ./libtool --tag=3DGCJ --mode=3Dcompile /home/zopolis4/gcjbuild/./gcc/gcj -B/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libjava/ -B/home/zopolis4/gcjbuild/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/ local/x86_64-pc-linux-gnu/sys-include -fomit-frame-pointer -Usun -fclasspath=3D -fbootclasspath=3D/home/zopolis4/gcjbuild/../gcj/libjava/classpath/lib --encoding=3DUTF-8 -Wno- deprecated -fbootstrap-classes -g -O2 -c -o gnu/java/security/hash.lo -fsource-filename=3D/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libjava/cla= sspath/lib/classes -MT gnu/j ava/security/hash.lo -MD -MP -MF gnu/java/security/hash.deps @gnu/java/security/hash.list libtool: compile: /home/zopolis4/gcjbuild/./gcc/gcj -B/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libjava/ -B/home/zopolis4/gcjbuild/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -fomit-frame-pointer -Usun -fclasspath=3D -fbootclasspath=3D/home/zopolis4/gcjbuild/../gcj/libjava/classpath/lib --encoding=3DUTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=3D/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libjava/cla= sspath/lib/classes -MT gnu/java/security/hash.lo -MD -MP -MF gnu/java/security/hash.deps @gnu/java/security/hash.list -fPIC -o gnu/java/security/.libs/hash.o during GIMPLE pass: slp /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Whirlpool.java:= In class 'gnu.java.security.hash.Whirlpool': /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Whirlpool.java:= In method 'gnu.java.security.hash.Whirlpool.transform(byte[],int)': In file included from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Tiger.java:863, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Sha512.java:277, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Sha384.java:275, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Sha256.java:248, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Sha160.java:239, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/RipeMD160.java:= 289, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/RipeMD128.java:= 255, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/MD5.java:369, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/MD4.java:336, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/MD2.java:255, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/IMessageDigest.= java:31, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Haval.java:805, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/HashFactory.jav= a:1764, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/BaseHash.java:4= 37, from :575: /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Whirlpool.java:= 299: internal compiler error: Segmentation fault 299 | n0 =3D (in[offset++] & 0xFFL) << 56 | 0xdac2af crash_signal /home/zopolis4/gcjbuild/../gcj/gcc/toplev.cc:314 0x1d10ee7 supportable_widening_operation(vec_info*, tree_code, _stmt_vec_in= fo*, tree_node*, tree_node*, tree_code*, tree_code*, int*, vec*) /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-stmts.cc:12196 0x1d3094c vectorizable_conversion /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-stmts.cc:5064 0x1d31a18 vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*, _slp_instance*, vec*) /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-stmts.cc:11247 0x106344e vect_slp_analyze_node_operations_1 /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:5957 0x106344e vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6147 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x106335a vect_slp_analyze_node_operations /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6126 0x1064f0b vect_slp_analyze_operations(vec_info*) /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:6387 0x106b262 vect_slp_analyze_bb_1 /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:7372 0x106b262 vect_slp_region /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:7419 0x106cc2c vect_slp_bbs /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:7610 0x106ceb3 vect_slp_function(function*) /home/zopolis4/gcjbuild/../gcj/gcc/tree-vect-slp.cc:7698=