public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "creatorsmithmdt at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-107672-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2022-11-14  6:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14  6:50 creatorsmithmdt at gmail dot com [this message]
2022-11-14 14:03 ` [Bug tree-optimization/107672] " rguenth at gcc dot gnu.org
2022-11-22  8:03 ` rguenth at gcc dot gnu.org
2022-11-22  8:06 ` rguenth at gcc dot gnu.org
2022-11-22  8:15 ` creatorsmithmdt at gmail dot com
2022-11-22  8:49 ` cvs-commit at gcc dot gnu.org
2022-11-22  8:49 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107672-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).