public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/106433] New: [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032
Date: Mon, 25 Jul 2022 08:12:04 +0000	[thread overview]
Message-ID: <bug-106433-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2022-07-25  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-25  8:12 asolokha at gmx dot com [this message]
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

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