When compiling attached file with "-march=iwmmxt -mtune=iwmmxt -O -fno-omit-frame-pointer", then following error appears on line "score= sqr - ((diff*(int64_t)diff)>>(level+3))":
svq1enc.c: In function 'encode_block': svq1enc.c:265: error: insn does not satisfy its constraints: (insn 1636 1634 334 22 (set (reg:SI 43 wcgr0) (mem/c:SI (plus:SI (reg/f:SI 11 fp) (const_int -3888 [0xfffffffffffff0d0])) [0 D.8214+0 S4 A32])) 407 {*iwmmxt_movsi_insn} (nil) (nil)) svq1enc.c:265: internal compiler error: in reload_cse_simplify_operands, at postreload.c:392 When compiling without -fno-omit-frame-pointer, everything works correctly. Using built-in specs. Target: arm-angstrom-linux-gnueabi Configured with: /OE/build/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.2.4-r3/gcc-4.2.4/configure --build=x86_64-linux --host=x86_64-linux --target=arm-angstrom-linux-gnueabi --prefix=/OE/build/tmp/cross/armv5te --exec_prefix=/OE/build/tmp/cross/armv5te --bindir=/OE/build/tmp/cross/armv5te/bin --sbindir=/OE/build/tmp/cross/armv5te/bin --libexecdir=/OE/build/tmp/cross/armv5te/libexec --datadir=/OE/build/tmp/cross/armv5te/share --sysconfdir=/OE/build/tmp/cross/armv5te/etc --sharedstatedir=/OE/build/tmp/cross/armv5te/com --localstatedir=/OE/build/tmp/cross/armv5te/var --libdir=/OE/build/tmp/cross/armv5te/lib --includedir=/OE/build/tmp/cross/armv5te/include --oldincludedir=/OE/build/tmp/cross/armv5te/include --infodir=/OE/build/tmp/cross/armv5te/share/info --mandir=/OE/build/tmp/cross/armv5te/share/man --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++,objc,fortran --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --enable-libssp --disable-bootstrap --enable-libgomp --disable-libmudflap --with-float=soft --with-local-prefix=/OE/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr --with-gxx-include-dir=/OE/build/tmp/staging/armv5te-angstrom-linux-gnueabi//usr/include/c++ --with-sysroot=/OE/build/tmp/staging/armv5te-angstrom-linux-gnueabi --with-build-sysroot=/OE/build/tmp/staging/armv5te-angstrom-linux-gnueabi --disable-libunwind-exceptions --with-mpfr=/OE/build/tmp/staging/x86_64-linux/usr --enable-__cxa_atexit Thread model: posix gcc version 4.2.4 -- Summary: iwmmxt: insn does not satisfy its constraints on (int64_t) Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: utx at penguin dot cz GCC build triplet: iwmmxt-angstrom-linux-gnueabi GCC host triplet: x86_64-suse-linux GCC target triplet: arm-angstrom-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37987