public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99825] [11 Regression] ICE in vect_build_combine_node Date: Tue, 30 Mar 2021 10:06:11 +0000 [thread overview] Message-ID: <bug-99825-4-N1VUMMTDUz@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99825-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99825 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- 887 perm.create (SLP_TREE_LANES (rep)); 888 889 for (unsigned x = 0; x < SLP_TREE_LANES (rep); x+=2) 890 { 891 perm.quick_push (std::make_pair (0, x)); 892 perm.quick_push (std::make_pair (1, x+1)); 893 } that was added in r11-6693-ge09173d84dabd186ad2463f47350c1bcabfeab8f can't really work, it allocates just SLP_TREE_LANES (resp) elements, but can quick_push one more elements - when SLP_TREE_LANES is odd (in this testcase 3). So, either some caller needs to ensure SLP_TREE_LANES is even or this function isn't called, or it needs to be changed to handle even odd numbers.
next prev parent reply other threads:[~2021-03-30 10:06 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-30 8:20 [Bug target/99825] New: " asolokha at gmx dot com 2021-03-30 9:58 ` [Bug target/99825] [11 Regression] " jakub at gcc dot gnu.org 2021-03-30 10:06 ` jakub at gcc dot gnu.org [this message] 2021-03-30 10:15 ` tnfchris at gcc dot gnu.org 2021-03-30 10:46 ` [Bug tree-optimization/99825] " tnfchris at gcc dot gnu.org 2021-03-30 13:17 ` cvs-commit at gcc dot gnu.org 2021-03-30 13:17 ` tnfchris 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-99825-4-N1VUMMTDUz@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).