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/106787] New: ICE in vect_schedule_slp_node, at tree-vect-slp.cc:8648 Date: Wed, 31 Aug 2022 11:33:45 +0000 [thread overview] Message-ID: <bug-106787-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106787 Bug ID: 106787 Summary: ICE in vect_schedule_slp_node, at tree-vect-slp.cc:8648 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: rsandifo at gcc dot gnu.org Target Milestone: --- Created attachment 53524 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53524&action=edit gcda file Seen in 511.povray_r benchmark when run with PGO: $ g++ matrices.ii -Ofast -march=skylake -fprofile-use -c -w during GIMPLE pass: slp matrices.ii: In function 'void pov::MTimesB(double (*)[4], double (*)[4])': matrices.ii:4:6: internal compiler error: in vect_schedule_slp_node, at tree-vect-slp.cc:8648 4 | void MTimesB(MATRIX matrix1, MATRIX result) { | ^~~~~~~ 0x9085a4 vect_schedule_slp_node /home/marxin/Programming/gcc/gcc/tree-vect-slp.cc:8648 0x155ce23 vect_schedule_scc /home/marxin/Programming/gcc/gcc/tree-vect-slp.cc:9018 0x155cb58 vect_schedule_scc /home/marxin/Programming/gcc/gcc/tree-vect-slp.cc:8999 0x155d450 vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap, vl_ptr> const&) /home/marxin/Programming/gcc/gcc/tree-vect-slp.cc:9135 0x155e93f vect_slp_region /home/marxin/Programming/gcc/gcc/tree-vect-slp.cc:7387 0x155ff2c vect_slp_bbs /home/marxin/Programming/gcc/gcc/tree-vect-slp.cc:7499 0x15601b3 vect_slp_function(function*) /home/marxin/Programming/gcc/gcc/tree-vect-slp.cc:7587 0x15697d9 execute /home/marxin/Programming/gcc/gcc/tree-vectorizer.cc:1532 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. $ cat matrices.ii typedef double MATRIX[][4]; double MTimesB_t0, MTimesB_t1, MTimesB_t2, MTimesB_t3; namespace pov { void MTimesB(MATRIX matrix1, MATRIX result) { MTimesB_t0 = result[0][3]; MTimesB_t1 = result[1][3]; MTimesB_t2 = result[2][3]; MTimesB_t3 = result[3][3]; result[2][3] = matrix1[2][0] * MTimesB_t0 + matrix1[2][1] * MTimesB_t1 + matrix1[2][2] * MTimesB_t2 + matrix1[2][3] * MTimesB_t3; result[3][3] = matrix1[3][0] * MTimesB_t0 + matrix1[3][1] * MTimesB_t1 + matrix1[3][2] * MTimesB_t2 + matrix1[3][3] * MTimesB_t3; } } // namespace pov
next reply other threads:[~2022-08-31 11:33 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-31 11:33 marxin at gcc dot gnu.org [this message] 2022-08-31 11:34 ` [Bug tree-optimization/106787] [13 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.cc:8648 since r13-2288-g61c4c989034548f4 marxin at gcc dot gnu.org 2022-08-31 12:13 ` rguenth at gcc dot gnu.org 2022-09-01 10:41 ` rsandifo at gcc dot gnu.org 2022-09-02 13:00 ` cvs-commit at gcc dot gnu.org 2022-09-02 13:01 ` rsandifo 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-106787-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).