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 middle-end/112560] New: ICE in try_combine on pr112494.c Date: Thu, 16 Nov 2023 07:23:40 +0000 [thread overview] Message-ID: <bug-112560-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112560 Bug ID: 112560 Summary: ICE in try_combine on pr112494.c Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: 141242068 at smail dot nju.edu.cn, ubizjak at gmail dot com Depends on: 112494 Target Milestone: --- Target: x86_64-linux-gnu +++ This bug was initially created as a clone of Bug #112494 +++ As written in https://gcc.gnu.org/pipermail/gcc-patches/2023-November/636503.html I see with --enable-checking=yes,rtl,extra on x86_64-linux: Executing on host: /home/jakub/src/gcc/obj48/gcc/xgcc -B/home/jakub/src/gcc/obj48/gcc/ /home/jakub/src/gcc/gcc/testsuite/gcc.target/i386/pr112494.c -fdiagnostics-plain-output -Og -fno-tree-copy-prop -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop -S -o pr112494.s (timeout = 300) spawn -ignore SIGHUP /home/jakub/src/gcc/obj48/gcc/xgcc -B/home/jakub/src/gcc/obj48/gcc/ /home/jakub/src/gcc/gcc/testsuite/gcc.target/i386/pr112494.c -fdiagnostics-plain-output -Og -fno-tree-copy-prop -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop -S -o pr112494.s during RTL pass: combine /home/jakub/src/gcc/gcc/testsuite/gcc.target/i386/pr112494.c: In function 'main': /home/jakub/src/gcc/gcc/testsuite/gcc.target/i386/pr112494.c:17:1: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx unspec) in try_combine, at combine.cc:3237 0x834954 rtl_check_failed_type2(rtx_def const*, int, int, int, char const*, int, char const*) ../../gcc/rtl.cc:761 0xd8a46e try_combine ../../gcc/combine.cc:3237 0x25d65ff combine_instructions ../../gcc/combine.cc:1264 0x25d65ff rest_of_handle_combine ../../gcc/combine.cc:15080 0x25d65ff execute ../../gcc/combine.cc:15124 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. compiler exited with status 1 This is on 3236 /* Just replace the CC reg with a new mode. */ 3237 SUBST (XEXP (*cc_use_loc, 0), newpat_dest); 3238 undobuf.other_insn = cc_use_insn; in combine.cc, where *cc_use_loc is (unspec:DI [ (reg:CC 17 flags) ] UNSPEC_PUSHFL) on which XEXP (guess combine assumes CC must be used inside of a comparison). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112494 [Bug 112494] ICE in ix86_cc_mode, at config/i386/i386.cc:16477
next reply other threads:[~2023-11-16 7:23 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-11-16 7:23 jakub at gcc dot gnu.org [this message] 2023-11-16 7:24 ` [Bug middle-end/112560] [14 Regression] " jakub at gcc dot gnu.org 2023-11-18 6:17 ` pinskia at gcc dot gnu.org 2023-11-18 6:17 ` pinskia at gcc dot gnu.org 2023-11-28 16:00 ` ubizjak at gmail dot com 2023-11-28 17:33 ` ubizjak at gmail dot com 2023-11-29 9:37 ` ubizjak at gmail dot com 2024-03-11 11:54 ` [Bug rtl-optimization/112560] " ubizjak at gmail dot com 2024-03-12 17:54 ` ubizjak at gmail dot com 2024-04-08 20:22 ` cvs-commit at gcc dot gnu.org 2024-04-09 8:26 ` rguenth at gcc dot gnu.org 2024-04-09 8:28 ` ubizjak at gmail dot com 2024-04-10 17:55 ` segher at gcc dot gnu.org 2024-04-10 18:34 ` ubizjak at gmail dot com 2024-04-10 22:44 ` segher at gcc dot gnu.org 2024-04-11 6:33 ` ubizjak at gmail dot com
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-112560-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).