public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mjires at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114059] New: ICE in extract_insn, at recog.cc:2812 | sme2 vs -fsanitize=address -mtrack-speculation -fharden-control-flow-redundancy Date: Thu, 22 Feb 2024 17:07:17 +0000 [thread overview] Message-ID: <bug-114059-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114059 Bug ID: 114059 Summary: ICE in extract_insn, at recog.cc:2812 | sme2 vs -fsanitize=address -mtrack-speculation -fharden-control-flow-redundancy Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: mjires at gcc dot gnu.org CC: rsandifo at gcc dot gnu.org Target Milestone: --- Compiling reduced testcase gcc.target/aarch64/sme/sibcall_9.c results in ICE, since sme2 was introduced in r14-6175-g3b58b2205ffdce. $ cat sibcall_9.c #pragma GCC target "+sme2" void caller_preserves() __arm_inout("za") {} $ aarch64-linux-gnu-gcc sibcall_9.c -fsanitize=address -mtrack-speculation -fharden-control-flow-redundancy sibcall_9.c: In function ‘caller_preserves’: sibcall_9.c:2:44: error: unrecognizable insn: 2 | void caller_preserves() __arm_inout("za") {} | ^ (jump_insn 156 155 157 (set (pc) (if_then_else (ne (reg:DI 16 x16) (const_int 0 [0])) (label_ref 160) (pc))) -1 (int_list:REG_BR_PROB 1073204964 (nil)) -> 160) during RTL pass: split5 sibcall_9.c:2:44: internal compiler error: in extract_insn, at recog.cc:2812 0x16f34de _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/mjires/git/GCC/master/gcc/rtl-error.cc:108 0x16f351f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/mjires/git/GCC/master/gcc/rtl-error.cc:116 0x16a4044 extract_insn(rtx_insn*) /home/mjires/git/GCC/master/gcc/recog.cc:2812 0x16a3d03 extract_insn_cached(rtx_insn*) /home/mjires/git/GCC/master/gcc/recog.cc:2701 0x1203628 cleanup_subreg_operands(rtx_insn*) /home/mjires/git/GCC/master/gcc/final.cc:3053 0x16a581d split_insn /home/mjires/git/GCC/master/gcc/recog.cc:3441 0x16a5b01 split_all_insns_noflow() /home/mjires/git/GCC/master/gcc/recog.cc:3567 0x16a7b40 execute /home/mjires/git/GCC/master/gcc/recog.cc:4641 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. $ aarch64-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=aarch64-linux-gnu-gcc COLLECT_LTO_WRAPPER=/home/mjires/built/master/libexec/gcc/aarch64-linux-gnu/14.0.1/lto-wrapper Target: aarch64-linux-gnu Configured with: /home/mjires/git/GCC/master/configure --prefix=/home/mjires/built/master --target=aarch64-linux-gnu --disable-bootstrap --enable-languages=c,c++,fortran --disable-multilib --disable-libsanitizer --enable-checking : (reconfigured) /home/mjires/git/GCC/master/configure --prefix=/home/mjires/built/master --target=aarch64-linux-gnu --disable-bootstrap --enable-languages=c,c++,fortran --disable-multilib --disable-libsanitizer --enable-checking Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240222 (experimental) (GCC)
next reply other threads:[~2024-02-22 17:07 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-22 17:07 mjires at gcc dot gnu.org [this message] 2024-03-08 15:20 ` [Bug target/114059] " aoliva at gcc dot gnu.org 2024-04-11 14:34 ` pheeck 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-114059-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).