public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/106433] New: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032
@ 2022-07-25  8:12 asolokha at gmx dot com
  2022-07-25  9:46 ` [Bug tree-optimization/106433] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2022-07-25  8:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106433
           Summary: [13 Regression] ICE in vect_transform_loops, at
                    tree-vectorizer.cc:1032
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: aarch64-linux-gnu

gcc 13.0.0 20220724 snapshot (g:8b8103dcd2624936bd1f56ac2ee63d1fb779a7e4) ICEs
when compiling the following testcase w/ -march=armv8-a+sve -O1:

int n;

int
quux ()
{
  return n;
}

__attribute__ ((simd)) int
bar (int x)
{
  if (quux () != quux (0))
    n = 0;

  return quux ();
}

__attribute__ ((simd)) int
foo (void)
{
  return bar (0);
}

% aarch64-linux-gnu-gcc-13.0.0 -march=armv8-a+sve -O1 -c x83c1h7f.c
during GIMPLE pass: vect
x83c1h7f.c: In function 'foo.simdclone.0':
x83c1h7f.c:19:1: internal compiler error: in vect_transform_loops, at
tree-vectorizer.cc:1032
   19 | foo (void)
      | ^~~
0x7d0332 vect_transform_loops
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/tree-vectorizer.cc:1032
0x11f9f73 try_vectorize_loop_1
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/tree-vectorizer.cc:1153
0x11f9f73 try_vectorize_loop
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/tree-vectorizer.cc:1183
0x11fa534 execute
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/tree-vectorizer.cc:1299

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

end of thread, other threads:[~2023-02-07  9:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-25  8:12 [Bug tree-optimization/106433] New: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 asolokha at gmx dot com
2022-07-25  9:46 ` [Bug tree-optimization/106433] " rguenth at gcc dot gnu.org
2022-10-19 10:43 ` rguenth at gcc dot gnu.org
2022-10-26 16:39 ` asolokha at gmx dot com
2022-12-12 11:19 ` rguenth at gcc dot gnu.org
2023-02-06 11:55 ` jakub at gcc dot gnu.org
2023-02-07  9:34 ` cvs-commit at gcc dot gnu.org
2023-02-07  9:41 ` jakub 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).