https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120507
Bug ID: 120507 Summary: ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with -mgeneral-regs-only -mfloat-abi=softfp Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: armv7a-hardfloat-linux-gnueabi Compiler output: $ echo 'void foo(float f) {}' | /repo/gcc-trunk/binary-latest-armv7a-hardfloat/bin/armv7a-hardfloat-linux-gnueabi-gcc -mgeneral-regs-only -mfloat-abi=softfp -xc - <stdin>: In function 'foo': <stdin>:1:20: error: unrecognizable insn: (insn 2 4 3 2 (set (mem/c:SF (plus:SI (reg/f:SI 89 virtual-stack-vars) (const_int -4 [0xfffffffffffffffc])) [1 f+0 S4 A32]) (reg:SF 0 r0 [ f ])) "<stdin>":1:19 -1 (nil)) during RTL pass: vregs <stdin>:1:20: internal compiler error: in extract_insn, at recog.cc:2882 0x22d8d41 internal_error(char const*, ...) /repo/gcc-trunk/gcc/diagnostic-global-context.cc:517 0xaa9eeb fancy_abort(char const*, int, char const*) /repo/gcc-trunk/gcc/diagnostic.cc:1803 0x7ccf02 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.cc:108 0x7ccf7f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.cc:116 0x7bdb72 extract_insn(rtx_insn*) /repo/gcc-trunk/gcc/recog.cc:2882 0xe2911f instantiate_virtual_regs_in_insn /repo/gcc-trunk/gcc/function.cc:1609 0xe2911f instantiate_virtual_regs /repo/gcc-trunk/gcc/function.cc:1987 0xe2911f execute /repo/gcc-trunk/gcc/function.cc:2034 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. $ armv7a-hardfloat-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-hardfloat/bin/armv7a-hardfloat-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-20250602084730-r16-1047-gb0dc2324980bbb-checking-yes-rtl-df-extra-armv7a-hardfloat/bin/../libexec/gcc/armv7a-hardfloat-linux-gnueabi/16.0.0/lto-wrapper Target: armv7a-hardfloat-linux-gnueabi Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --enable-libsanitizer --with-float=hard --with-fpu=vfpv4 --with-arch=armv7-a --with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=armv7a-hardfloat-linux-gnueabi --with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld --with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20250602084730-r16-1047-gb0dc2324980bbb-checking-yes-rtl-df-extra-armv7a-hardfloat Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250602 (experimental) (GCC)