https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
Bug ID: 94538 Summary: [9/10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code 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 Created attachment 48247 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48247&action=edit reduced testcase Compiler output: $ armv7a-hardfloat-linux-gnueabi-gcc -mcpu=cortex-m23 -mslow-flash-data testcase.c testcase.c: In function 'foo': testcase.c:9:1: error: insn does not satisfy its constraints: 9 | } | ^ (insn 91 90 17 (set (reg:SI 12 ip [128]) (plus:SI (reg:SI 12 ip [128]) (const_int 255 [0xff]))) "testcase.c":8:5 905 {*thumb1_addsi3} (expr_list:REG_EQUAL (const_int 4095 [0xfff]) (nil))) during RTL pass: shorten testcase.c:9:1: internal compiler error: in extract_constrain_insn_cached, at recog.c:2207 0x6f8802 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.c:108 0x6f888f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.c:118 0x6e9a7e extract_constrain_insn_cached(rtx_insn*) /repo/gcc-trunk/gcc/recog.c:2207 0x166862f insn_default_length(rtx_insn*) /repo/gcc-trunk/gcc/config/arm/arm.md:363 0xcb4c3e shorten_branches(rtx_insn*) /repo/gcc-trunk/gcc/final.c:1118 0xcb4d0f rest_of_handle_shorten_branches /repo/gcc-trunk/gcc/final.c:4753 0xcb4d0f execute /repo/gcc-trunk/gcc/final.c:4782 Please submit a full bug report, with preprocessed source if appropriate. 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-r10-7640-20200408212358-gd0cc1b79b39-checking-yes-rtl-df-extra-armv7a-hardfloat/bin/../libexec/gcc/armv7a-hardfloat-linux-gnueabi/10.0.1/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 --with-cloog --with-ppl --with-isl --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-r10-7640-20200408212358-gd0cc1b79b39-checking-yes-rtl-df-extra-armv7a-hardfloat Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.1 20200408 (experimental) (GCC)