public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107302] New: [13 Regression] ICE in as_a, at is-a.h:242 since r13-3327-g46a8e017d048ec32 Date: Tue, 18 Oct 2022 07:53:27 +0000 [thread overview] Message-ID: <bug-107302-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107302 Bug ID: 107302 Summary: [13 Regression] ICE in as_a, at is-a.h:242 since r13-3327-g46a8e017d048ec32 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: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- The following crashes: $ cat tsvc.i int a[0]; int s292_im1; void s292() { for (int i = 0; i < 2000; i++) { a[i] = s292_im1; s292_im1 = i; } } $ gcc tsvc.i -fno-tree-pre -O2 during GIMPLE pass: vect tsvc.i: In function ‘s292’: tsvc.i:5:1: internal compiler error: in as_a, at is-a.h:242 5 | s292() { | ^~~~ 0x7fa8a6 gimple_statement_with_memory_ops* as_a<gimple_statement_with_memory_ops*, gimple>(gimple*) /home/marxin/Programming/gcc/gcc/is-a.h:242 0x7fde52 gphi* as_a<gphi*, gimple>(gimple*) /home/marxin/Programming/gcc/gcc/gimple-iterator.h:129 0x7fde52 gphi_iterator::phi() const /home/marxin/Programming/gcc/gcc/gimple-iterator.h:43 0x7fde52 vect_transform_loop(_loop_vec_info*, gimple*) /home/marxin/Programming/gcc/gcc/tree-vect-loop.cc:10894 0x124f32e vect_transform_loops /home/marxin/Programming/gcc/gcc/tree-vectorizer.cc:1007 0x124f90f try_vectorize_loop_1 /home/marxin/Programming/gcc/gcc/tree-vectorizer.cc:1153 0x124f90f try_vectorize_loop /home/marxin/Programming/gcc/gcc/tree-vectorizer.cc:1183 0x124fca4 execute /home/marxin/Programming/gcc/gcc/tree-vectorizer.cc:1299 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
next reply other threads:[~2022-10-18 7:53 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-18 7:53 marxin at gcc dot gnu.org [this message] 2022-10-18 7:53 ` [Bug tree-optimization/107302] " marxin at gcc dot gnu.org 2022-10-18 7:54 ` rguenth at gcc dot gnu.org 2022-10-18 10:50 ` cvs-commit at gcc dot gnu.org 2022-10-18 11:23 ` 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-107302-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).