public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zhendong.su at inf dot ethz.ch" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106521] New: ICE at -O1 with "-floop-unroll-and-jam --param unroll-jam-min-percent=0": verify_ssa failed Date: Wed, 03 Aug 2022 22:44:42 +0000 [thread overview] Message-ID: <bug-106521-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106521 Bug ID: 106521 Summary: ICE at -O1 with "-floop-unroll-and-jam --param unroll-jam-min-percent=0": verify_ssa failed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zhendong.su at inf dot ethz.ch Target Milestone: --- It appears to be a recent regression (and possibly related to PR106249). Compiler Explorer: https://godbolt.org/z/Tanf9axav [545] % gcctk -v Using built-in specs. COLLECT_GCC=gcctk COLLECT_LTO_WRAPPER=/local/suz-local/software/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/13.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220803 (experimental) [master r13-1950-g9bb19e143cf] (GCC) [546] % [546] % gcctk -O1 -floop-unroll-and-jam --param unroll-jam-min-percent=0 small.c small.c: In function ‘main’: small.c:4:5: error: definition in block 30 does not dominate use in block 33 4 | int main() { | ^~~~ for SSA_NAME: b_lsm.15_82 in statement: b_lsm.15_23 = PHI <b_lsm.15_8(22), b_lsm.15_82(33)> PHI argument b_lsm.15_82 for PHI node b_lsm.15_23 = PHI <b_lsm.15_8(22), b_lsm.15_82(33)> during GIMPLE pass: unrolljam small.c:4:5: internal compiler error: verify_ssa failed 0x11356ef verify_ssa(bool, bool) ../../gcc-trunk/gcc/tree-ssa.cc:1211 0x105fb5b rewrite_into_loop_closed_ssa_1 ../../gcc-trunk/gcc/tree-ssa-loop-manip.cc:576 0x105fb5b rewrite_into_loop_closed_ssa(bitmap_head*, unsigned int) ../../gcc-trunk/gcc/tree-ssa-loop-manip.cc:626 0x1c94c2d tree_loop_unroll_and_jam ../../gcc-trunk/gcc/gimple-loop-jam.cc:612 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. [547] % [547] % cat small.c short a, b, e; volatile long c; long d; int main() { for (; d; d++) { long g = a = 1; for (; a; a++) { g++; c; } g && (b = e); } return 0; }
next reply other threads:[~2022-08-03 22:44 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-03 22:44 zhendong.su at inf dot ethz.ch [this message] 2022-08-04 7:37 ` [Bug tree-optimization/106521] [13 Regression] ICE at -O1 with "-floop-unroll-and-jam --param unroll-jam-min-percent=0": verify_ssa failed since r13-1450-gd2a898666609452e marxin at gcc dot gnu.org 2022-08-04 9:36 ` rguenth at gcc dot gnu.org 2022-08-04 13:01 ` cvs-commit at gcc dot gnu.org 2022-08-04 13:02 ` 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-106521-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: linkBe 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).