https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107672
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. While I am aware GCJ is not currently part of GCC, the GIMPLE it generates is valid 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 report this? Maybe I could just send the generated GIMPLE that ICE's? ~/g/x/libjava> /bin/bash ./libtool --tag=GCJ --mode=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= -fbootclasspath=/home/zopolis4/gcjbuild/../gcj/libjava/classpath/lib --encoding=UTF-8 -Wno- deprecated -fbootstrap-classes -g -O2 -c -o gnu/java/security/hash.lo -fsource-filename=/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libjava/classpath/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= -fbootclasspath=/home/zopolis4/gcjbuild/../gcj/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libjava/classpath/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.java:1764, from /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/BaseHash.java:437, from <built-in>:575: /home/zopolis4/gcj/libjava/classpath/gnu/java/security/hash/Whirlpool.java:299: internal compiler error: Segmentation fault 299 | n0 = (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_info*, tree_node*, tree_node*, tree_code*, tree_code*, int*, vec<tree_node*, va_heap, vl_ptr>*) /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<stmt_info_for_cost, va_heap, vl_ptr>*) /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