public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102897] New: [12 Regression] simplify_permutation ICEs on assert Date: Fri, 22 Oct 2021 11:22:39 +0000 [thread overview] Message-ID: <bug-102897-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102897 Bug ID: 102897 Summary: [12 Regression] simplify_permutation ICEs on assert Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org Target Milestone: --- The following testcase typedef __attribute__((vector_size(8))) signed char int8x8_t; typedef __attribute__((vector_size(8))) unsigned char uint8x8_t; int8x8_t fn1(int8x8_t val20, char tmp) { uint8x8_t __trans_tmp_3; __trans_tmp_3 = (uint8x8_t){tmp}; int8x8_t __a = (int8x8_t)__trans_tmp_3; return __builtin_shuffle(__a, val20, (uint8x8_t){}); } ICEs at -O1 and higher with during GIMPLE pass: forwprop <source>: In function 'fn1': <source>:12:1: internal compiler error: in simplify_permutation, at tree-ssa-forwprop.c:2271 12 | } | ^ 0x1000e00 simplify_permutation src/gcc/gcc/tree-ssa-forwprop.c:2271 0x1007ae8 execute src/gcc/gcc/tree-ssa-forwprop.c:3397 That line contains an assert with the comment tree op2_type = TREE_TYPE (op2); /* Should have folded this before. */ gcc_assert (op2_type != tgt_type);
next reply other threads:[~2021-10-22 11:22 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-22 11:22 tnfchris at gcc dot gnu.org [this message] 2021-10-22 11:29 ` [Bug tree-optimization/102897] [12 Regression] simplify_permutation ICEs on assert since r12-1103-g4a9f2306cb39a3cf marxin at gcc dot gnu.org 2021-10-22 18:55 ` pinskia at gcc dot gnu.org 2021-10-25 2:20 ` linkw at gcc dot gnu.org 2021-10-25 6:43 ` rguenth at gcc dot gnu.org 2021-10-25 9:03 ` linkw at gcc dot gnu.org 2021-10-26 10:04 ` cvs-commit at gcc dot gnu.org 2021-10-27 7:44 ` cvs-commit at gcc dot gnu.org 2021-10-27 8:27 ` linkw 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-102897-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).