public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/106914] New: [13 Regression] ICE in operator[], at vec.h:889
Date: Mon, 12 Sep 2022 17:26:43 +0000	[thread overview]
Message-ID: <bug-106914-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 106914
           Summary: [13 Regression] ICE in operator[], at vec.h:889
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20220828 and 20220904, at -O2+,
with file gcc.target/aarch64/sve/mask_load_slp_1.c :
(-mavx512vl or option -mavx2 etc.)


$ gcc-13-20220911 -c mask_load_slp_1.c -O2 -mavx512vl -fprofile-generate
during GIMPLE pass: vect
mask_load_slp_1.c: In function 'mask_slp_int64_t_8_2':
mask_load_slp_1.c:34:1: internal compiler error: in operator[], at vec.h:889
   34 | mask_slp_##TYPE_COND##_8_##ALT_VAL (int *restrict x, int *restrict y,  
\
      | ^~~~~~~~~
mask_load_slp_1.c:81:1: note: in expansion of macro 'MASK_SLP_8'
   81 | MASK_SLP_8(int64_t, 2)
      | ^~~~~~~~~~
0x11cce67 vec<unsigned int, va_heap, vl_embed>::operator[](unsigned int)
        ../../gcc/vec.h:889
0x11cce67 vec<unsigned int, va_heap, vl_ptr>::operator[](unsigned int)
        ../../gcc/vec.h:1498
0x11cce67 vect_transform_slp_perm_load_1
        ../../gcc/tree-vect-slp.cc:8144
0x11d1eb2 vect_optimize_slp_pass::internal_node_cost(_slp_tree*, int, unsigned
int)
        ../../gcc/tree-vect-slp.cc:4508
0x11d2cc1 vect_optimize_slp_pass::forward_pass()
        ../../gcc/tree-vect-slp.cc:4999
0x11e261c vect_optimize_slp_pass::run()
        ../../gcc/tree-vect-slp.cc:5548
0x11e26f7 vect_optimize_slp(vec_info*)
        ../../gcc/tree-vect-slp.cc:5568
0x11b4840 vect_analyze_loop_2
        ../../gcc/tree-vect-loop.cc:2477
0x11b558b vect_analyze_loop_1
        ../../gcc/tree-vect-loop.cc:2980
0x11b5d4f vect_analyze_loop(loop*, vec_info_shared*)
        ../../gcc/tree-vect-loop.cc:3134
0x11f8177 try_vectorize_loop_1
        ../../gcc/tree-vectorizer.cc:1067
0x11f8177 try_vectorize_loop
        ../../gcc/tree-vectorizer.cc:1185
0x11f8a94 execute
        ../../gcc/tree-vectorizer.cc:1299

             reply	other threads:[~2022-09-12 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-12 17:26 gscfq@t-online.de [this message]
2022-09-12 19:43 ` [Bug tree-optimization/106914] [13 Regression] ICE in operator[], at vec.h:889 since r13-2288-g61c4c989034548f4 marxin at gcc dot gnu.org
2022-09-13  6:48 ` rguenth at gcc dot gnu.org
2022-09-14 12:24 ` rsandifo at gcc dot gnu.org
2022-09-20 14:28 ` cvs-commit 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-106914-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).