https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83409
Bug ID: 83409 Summary: arc: "internal compiler error: in extract_constrain_insn" with -O3 Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: arnd at linaro dot org Target Milestone: --- Created attachment 42870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42870&action=edit linux/lib/scatterlist.c, preprocessed and compressed I get several internal compiler errors building linux 'allmodconfig' with arc-elf-gcc-7.2.1: /home/arnd/cross-gcc/bin/arc-elf-gcc-7.2.1 -Wall -O3 -c lib/scatterlist.i -fno-strict-aliasing /git/arm-soc/lib/scatterlist.c: In function '__sg_alloc_table_from_pages': /git/arm-soc/lib/scatterlist.c:445:1: error: insn does not satisfy its constraints: } ^ (insn 735 249 620 23 (set (reg:SI 60 lp_count [477]) (plus:SI (mult:SI (reg:SI 60 lp_count [375]) (const_int 4 [0x4])) (const_int -20 [0xffffffffffffffec]))) "/git/arm-soc/lib/scatterlist.c":139 89 {*add_n} (nil)) /git/arm-soc/lib/scatterlist.c:445:1: internal compiler error: in extract_constrain_insn, at recog.c:2213 0x95a673 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/arnd/git/gcc/gcc/rtl-error.c:108 0x95a69f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/arnd/git/gcc/gcc/rtl-error.c:119 0x927aad extract_constrain_insn(rtx_insn*) /home/arnd/git/gcc/gcc/recog.c:2213 0x92adf4 copyprop_hardreg_forward_1 /home/arnd/git/gcc/gcc/regcprop.c:801 0x92bad7 execute /home/arnd/git/gcc/gcc/regcprop.c:1308 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.