public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/111950] New: ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c
@ 2023-10-24  7:15 shaohua.li at inf dot ethz.ch
  2023-10-24  7:50 ` [Bug tree-optimization/111950] [14 Regression] " rguenth at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: shaohua.li at inf dot ethz.ch @ 2023-10-24  7:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111950

            Bug ID: 111950
           Summary: ICE in compute_live_loop_exits, at
                    tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shaohua.li at inf dot ethz.ch
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

gcc at -O3 crashes on the test case.

Bisected to r14-4786-gd118738e71c

Compiler explorer: https://godbolt.org/z/Pe5cPqo7s

$ cat a.c
int a, b, d;
int c[4];
unsigned e;
void f() {
  char g;
  for (; d; d++) {
    g = 1;
    for (; g >= 0; g--) {
      e = b >= 2 || a >> b ?: a;
      c[g] = e;
    }
  }
}
int main() {}
$
$ gcc -O3 a.c
during GIMPLE pass: vect
a.c: In function ‘f’:
a.c:4:6: internal compiler error: in compute_live_loop_exits, at
tree-ssa-loop-manip.cc:250
    4 | void f() {
      |      ^
0x7f4266496082 __libc_start_main
        ../csu/libc-start.c:308
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.
$

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-11-06 13:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24  7:15 [Bug tree-optimization/111950] New: ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c shaohua.li at inf dot ethz.ch
2023-10-24  7:50 ` [Bug tree-optimization/111950] [14 Regression] " rguenth at gcc dot gnu.org
2023-10-27 14:14 ` rguenth at gcc dot gnu.org
2023-10-27 14:29 ` tnfchris at gcc dot gnu.org
2023-10-27 16:02 ` tnfchris at gcc dot gnu.org
2023-11-03 12:02 ` rguenth at gcc dot gnu.org
2023-11-03 13:27 ` rguenth at gcc dot gnu.org
2023-11-03 14:14 ` rguenth at gcc dot gnu.org
2023-11-03 14:57 ` rguenth at gcc dot gnu.org
2023-11-03 15:58 ` tnfchris at gcc dot gnu.org
2023-11-06  9:51 ` rguenth at gcc dot gnu.org
2023-11-06 13:16 ` cvs-commit at gcc dot gnu.org
2023-11-06 13:18 ` rguenth at gcc dot gnu.org

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).