http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60606
Bug ID: 60606 Summary: ICE [ARM] error: insn does not satisfy its constraints Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: d.salikhov at samsung dot com Created attachment 32414 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32414&action=edit Code sample reproducing the bug Reproduced on 4.8.0+ and on trunk. *How to reproduce:* Compile sample code in attachment by "arm-v7a9-linux-gnueabi-gcc -S ice.c" *Compiler output:* ice.c: In function 'alpha': ice.c:5:1: error: insn does not satisfy its constraints: } ^ (insn 5 2 6 (set (reg:SI 3 r3 [orig:110 pc.0 ] [110]) (reg/v:SI 15 pc [ pc ])) ice.c:4 641 {*arm_movsi_vfp} (nil)) ice.c:5:1: internal compiler error: in note_invalid_constants, at config/arm/arm.c:13693 0x83e1907 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/salikhov/work/toolchain_repos/ta_sdk/./gcc_experimental/gcc/rtl-error.c:109 0x83e1945 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/salikhov/work/toolchain_repos/ta_sdk/./gcc_experimental/gcc/rtl-error.c:120 0x85e4b49 note_invalid_constants /home/salikhov/work/toolchain_repos/ta_sdk/./gcc_experimental/gcc/config/arm/arm.c:13693 0x85e4b49 arm_reorg /home/salikhov/work/toolchain_repos/ta_sdk/./gcc_experimental/gcc/config/arm/arm.c:14031 0x83e17b8 rest_of_handle_machine_reorg /home/salikhov/work/toolchain_repos/ta_sdk/./gcc_experimental/gcc/reorg.c:3939 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. *Commit introducing the bug:* git hash: bffbb863ff0f267b5111bfa95b42c99cd0474424 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189350 138bc75d-0d04-0410-961f-82ee72b054a4 arm-v7a9-linux-gnueabi-gcc -v output: Using built-in specs. COLLECT_GCC=../../toolchain_repos/ta_sdk/cortex-cross-tools_exp/bin/arm-v7a9-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/home/salikhov/work/toolchain_repos/ta_sdk/cortex-cross-tools_exp/libexec/gcc/arm-v7a9-linux-gnueabi/4.8.3/lto-wrapper Target: arm-v7a9-linux-gnueabi Configured with: /home/salikhov/work/toolchain_repos/ta_sdk/./gcc_experimental/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-v7a9-linux-gnueabi --disable-libmudflap --disable-libssp --with-gnu-as --with-gnu-ld --disable-lto --disable-nls --prefix=/home/salikhov/work/toolchain_repos/ta_sdk/cortex-cross-tools_exp --disable-shared --disable-threads --disable-libssp --disable-libquadmath --without-headers --with-newlib --disable-decimal-float --disable-libffi --enable-languages=c --with-sysroot=/home/salikhov/work/toolchain_repos/ta_sdk/cortex-cross-tools_exp/arm-v7a9-linux-gnueabi/sys-root/ --with-gmp=/home/salikhov/work/toolchain_repos/ta_sdk/cortex-cross-tools_exp --with-mpfr=/home/salikhov/work/toolchain_repos/ta_sdk/cortex-cross-tools_exp --with-mpc=/home/salikhov/work/toolchain_repos/ta_sdk/cortex-cross-tools_exp --disable-libgomp --disable-libatomic --with-interwork --with-cpu=cortex-a9 --with-arch=armv7-a --with-mode=arm --with-tune=cortex-a9 --with-fpu=vfpv3 --with-float=softfp Thread model: single gcc version 4.8.3 20140321 (prerelease) (GCC)