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 target/108816] New: ICE in operator[], at vec.h:889 Date: Thu, 16 Feb 2023 02:44:02 +0000 [thread overview] Message-ID: <bug-108816-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108816 Bug ID: 108816 Summary: ICE in operator[], at vec.h:889 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu gcc 13.0.1 20230212 snapshot (g:06ca0c9abb260266b688e2c2154c72214bb47076) ICEs when compiling the following testcase w/ -mcpu=cortex-x3 -O2 -fvect-cost-model=dynamic: int m; void foo (int p[][16], unsigned int x) { while (x < 4) { int j; for (j = x * 4; j < (x + 1) * 4 - 2; j++) p[0][j] = p[m][j]; ++x; } } % aarch64-linux-gnu-gcc-13 -mcpu=cortex-x3 -O2 -fvect-cost-model=dynamic -c ck0pb2mc.c during GIMPLE pass: vect ck0pb2mc.c: In function 'foo': ck0pb2mc.c:4:1: internal compiler error: in operator[], at vec.h:889 4 | foo (int p[][16], unsigned int x) | ^~~ 0x77eef2 vec<edge_def*, va_gc, vl_embed>::operator[](unsigned int) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/vec.h:889 0x77eef8 vec<edge_def*, va_gc, vl_embed>::operator[](unsigned int) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-cfg.cc:9409 0x77eef8 extract_true_false_edges_from_block(basic_block_def*, edge_def**, edge_def**) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-cfg.cc:9410 0x11e6cdb vect_loop_versioning(_loop_vec_info*, gimple*) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-vect-loop-manip.cc:3724 0x11da221 vect_transform_loop(_loop_vec_info*, gimple*) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-vect-loop.cc:10767 0x121f2cf vect_transform_loops /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-vectorizer.cc:1007 0x121f94c try_vectorize_loop_1 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-vectorizer.cc:1153 0x121f94c try_vectorize_loop /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-vectorizer.cc:1183 0x121fcf4 execute /var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.1_p20230212/work/gcc-13-20230212/gcc/tree-vectorizer.cc:1299
next reply other threads:[~2023-02-16 2:44 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-16 2:44 asolokha at gmx dot com [this message] 2023-02-17 7:58 ` [Bug tree-optimization/108816] " rguenth at gcc dot gnu.org 2023-02-20 9:59 ` rguenth at gcc dot gnu.org 2023-02-20 10:56 ` cvs-commit at gcc dot gnu.org 2023-02-20 10:57 ` [Bug tree-optimization/108816] [12 Regression] " rguenth at gcc dot gnu.org 2023-03-15 9:48 ` cvs-commit at gcc dot gnu.org 2023-03-15 10:04 ` rguenth 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-108816-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: linkBe 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).