[Bug libgcc/61353] New: internal compiler error -recog.c:2208: extract_constrain_insn_cached

naroyce at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu May 29 06:10:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61353

            Bug ID: 61353
           Summary: internal compiler error -recog.c:2208:
                    extract_constrain_insn_cached
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: naroyce at hotmail dot com

Created attachment 32873
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32873&action=edit
srtof_l.c save-temp *.i

Cross Compiling from x86_64 to ARM (using LFS as a guide)

$ uname -a
 Linux debian72X8664VB 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux

GLIBC commit: 26b0d2e1a1606da10c4dc4e109d7b9f2d92aab6a
GCC commit: 8753931abe4a279eb4b2c945fb8b5c14fc6774c9

GCC Static
 config.log
  $ ../gcc/configure --prefix=/cross-tools --build=x86_64-cross-linux-gnu
--host=x86_64-cross-linux-gnu --target=armv7l-unknown-linux-gnueabihf
--with-sysroot=/home/vboxadmin/Desktop/CLFS
--with-local-prefix=/armv7l-unknown-linux-gnueabihf
--with-native-system-header-dir=/armv7l-unknown-linux-gnueabihf/include
--disable-nls --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools
--with-isl=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools
--without-headers --with-newlib --disable-decimal-float --disable-libgomp
--disable-libmudflap --disable-libssp --disable-libatomic --disable-libitm
--disable-libsanitizer --disable-libquadmath --disable-threads
--disable-multilib --disable-target-zlib --with-system-zlib
--enable-languages=c --enable-checking=release --enable-cloog-backend=isl
--disable-isl-version-check --with-arch=armv7-a --with-float=hard
--with-fpu=neon

GLIBC
 config.log
  $ ../glibc/configure --prefix=/armv7l-unknown-linux-gnueabihf
--build=x86_64-cross-linux-gnu --host=armv7l-unknown-linux-gnueabihf
--disable-profile --enable-kernel=3.8.13 --with-binutils=/cross-tools/bin
--with-headers=/armv7l-unknown-linux-gnueabihf/include --enable-obsolete-rpc
libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes libc_cv_ctors_header=yes
BUILD_CC=gcc CC=armv7l-unknown-linux-gnueabihf-gcc
AR=armv7l-unknown-linux-gnueabihf-ar
RANLIB=armv7l-unknown-linux-gnueabihf-ranlib CFLAGS=-O2 -pipe -mfpu=neon
-mtune=cortex-a9 -march=armv7-a -mfloat-abi=hard CXXFLAGS=-O2 -pipe -mfpu=neon
-mtune=cortex-a9 -march=armv7-a -mfloat-abi=hard
LDFLAGS=-L/armv7l-unknown-linux-gnueabihf/lib -Wl,-rpath
-Wl,/armv7l-unknown-linux-gnueabihf/lib

Error
 In file included from strtof_l.c:45:0:
strtod_l.c: In function '____strtof_l_internal':
strtod_l.c:1770:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 1581 1580 1582 267 (set (reg:SI 463 [ D.16783 ])
        (ior:SI (ashift:SI (reg/v:SI 139 [ val ])
                (reg:SI 1254 [ D.16772 ]))
            (reg:SI 463 [ D.16783 ]))) strtod_l.c:1143 284 {*arith_shiftsi}
     (expr_list:REG_DEAD (reg:SI 1254 [ D.16772 ])
        (expr_list:REG_DEAD (reg/v:SI 139 [ val ])
            (nil))))
strtod_l.c:1770:1: internal compiler error: in extract_constrain_insn_cached,
at recog.c:2208
0x851045 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    ../../gcc/gcc/rtl-error.c:109
0x85106f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    ../../gcc/gcc/rtl-error.c:120
0x826d8d extract_constrain_insn_cached(rtx_def*)
    ../../gcc/gcc/recog.c:2208
0xb7b8a7 insn_default_latency(rtx_def*)
    ../../gcc/gcc/config/arm/arm-tune.md:49
0xcb2306 insn_cost(rtx_def*)
    ../../gcc/gcc/haifa-sched.c:1399
0xcb5bcc dep_cost_1(_dep*, unsigned int)
    ../../gcc/gcc/haifa-sched.c:1452
0xcb8268 priority
    ../../gcc/gcc/haifa-sched.c:1647
0xcb8268 priority
    ../../gcc/gcc/haifa-sched.c:1585
0xcb8318 set_priorities(rtx_def*, rtx_def*)
    ../../gcc/gcc/haifa-sched.c:6583
0x85e319 compute_priorities()
    ../../gcc/gcc/sched-rgn.c:2925
0x860abd schedule_region
    ../../gcc/gcc/sched-rgn.c:3018
0x860abd schedule_insns
    ../../gcc/gcc/sched-rgn.c:3416
0x860abd schedule_insns()
    ../../gcc/gcc/sched-rgn.c:3395
0x861032 rest_of_handle_sched
    ../../gcc/gcc/sched-rgn.c:3620
0x861032 execute
    ../../gcc/gcc/sched-rgn.c:3719
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.
make[2]: *** [/home/vboxadmin/Desktop/glibcBuild/stdlib/strtof_l.o] Error 1
make[2]: Leaving directory `/home/vboxadmin/Desktop/glibc/stdlib'
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory `/home/vboxadmin/Desktop/glibc'
make: *** [all] Error 2



More information about the Gcc-bugs mailing list