public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/113898] New: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1156
@ 2024-02-13  8:10 shaohua.li at inf dot ethz.ch
  2024-02-13  8:45 ` [Bug tree-optimization/113898] [14 regression] ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1156 since r14-8929-g938a419182f rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: shaohua.li at inf dot ethz.ch @ 2024-02-13  8:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113898
           Summary: ICE in copy_reference_ops_from_ref, at
                    tree-ssa-sccvn.cc:1156
           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 -Os crashed on the test case.

Bisected to r14-8929-g938a419182f


%cat reduced.c
int a, d;
unsigned **b;
long c, f;
long e[2][1];
void g() {
  int h = 0;
  for (; h < 2; h++) {
    e[h][d + **b + a] = c;
    if (f)
      for (;;)
        ;
  }
}
void main() {}
%
%gcc -Os reduced.c
int a, d;
unsigned **b;
long c, f;
long e[2][1];
void g() {
  int h = 0;
  for (; h < 2; h++) {
    e[h][d + **b + a] = c;
    if (f)
      for (;;)
        ;
  }
}
void main() {}
%

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

end of thread, other threads:[~2024-02-16  8:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13  8:10 [Bug tree-optimization/113898] New: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1156 shaohua.li at inf dot ethz.ch
2024-02-13  8:45 ` [Bug tree-optimization/113898] [14 regression] ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1156 since r14-8929-g938a419182f rguenth at gcc dot gnu.org
2024-02-13  9:01 ` rguenth at gcc dot gnu.org
2024-02-13 10:45 ` cvs-commit at gcc dot gnu.org
2024-02-13 10:49 ` rguenth at gcc dot gnu.org
2024-02-16  8:00 ` shaohua.li at inf dot ethz.ch
2024-02-16  8:29 ` 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).