public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "liuhongt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115452] New: ICE when dump stv2 for gcc.target/i386/pr70322-2.c with -march=cascadelake Date: Wed, 12 Jun 2024 02:54:20 +0000 [thread overview] Message-ID: <bug-115452-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115452 Bug ID: 115452 Summary: ICE when dump stv2 for gcc.target/i386/pr70322-2.c with -march=cascadelake Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: liuhongt at gcc dot gnu.org Target Milestone: --- gcc -m32 -march=cascadelake ./gcc/testsuite/gcc.target/i386/pr70322-2.c -mstv -mno-bmi -S -Os -fdump-rtl-stv2-details ./gcc/testsuite/gcc.target/i386/pr70322-2.c: In function ‘foo’: ./gcc/testsuite/gcc.target/i386/pr70322-2.c:12:1: internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 12 | } | ^ 0x88ef75 rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int, char const*) ./gcc/rtl.cc:770 0x96be78 rhs_regno(rtx_def const*) ./gcc/rtl.h:1934 0x96cd8d rhs_regno(rtx_def const*) ./genrtl.h:38 0x96cd8d convert_op ./gcc/config/i386/i386-features.cc:1056 0x1af7711 convert_insn ./gcc/config/i386/i386-features.cc:1468 0x1af9808 convert ./gcc/config/i386/i386-features.cc:1987 0x1af9808 convert_scalars_to_vector ./gcc/config/i386/i386-features.cc:2536 0x1af9808 execute ./gcc/config/i386/i386-features.cc:2750 ------------cut from i386-features.cc:1056--------------- if (dump_file) fprintf (dump_file, " Preloading operand for insn %d into r%d\n", INSN_UID (insn), REGNO (tmp)); --------------cut end------------------------------- Looks like tmp is SUBREG.
next reply other threads:[~2024-06-12 2:54 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-06-12 2:54 liuhongt at gcc dot gnu.org [this message] 2024-06-12 8:11 ` [Bug target/115452] " ubizjak at gmail dot com 2024-06-13 4:55 ` cvs-commit at gcc dot gnu.org 2024-06-13 4:55 ` liuhongt 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-115452-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).