http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50099
Bug #: 50099
Summary: ICE: internal compiler error: in extract_insn, at
recog.c:2113 while building lttng-ust
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 25022
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25022
preprocessed sources (ust-0.15/snprintf/vfprintf.c)
$ arm-linux-gnueabi-gcc -march=armv7-a /tmp/x2.c -c -O1
/tmp/x2.c: In function ‘ust_safe_vfprintf’:
/tmp/x2.c:4533:1: error: unrecognizable insn:
(insn 3114 3113 3115 139 (set (subreg:SI (reg/v:DI 153 [ _umax ]) 0)
(sign_extend:SI (mem:QI (plus:SI (mult:SI (reg/v:SI 159 [ nextarg ])
(const_int 8 [0x8]))
(reg/f:SI 347 [ argtable.7 ])) [0 *D.5277_569+0 S1 A32])))
/tmp/x2.c:4325 -1
(nil))
/tmp/x2.c:4533:1: internal compiler error: in extract_insn, at recog.c:2113
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ arm-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=$P/sysroots/x86_64-oe-linux/usr/libexec/armv5te-linux-gnueabi/gcc/arm-linux-gnueabi/4.6.1/lto-wrapper
Target: arm-linux-gnueabi
Configured with: $P/work-shared/gcc-4.6.1+svnr175454/gcc-4_6-branch/configure
--build=x86_64-oe-linux --host=x86_64-oe-linux --target=arm-linux-gnueabi
--prefix=$P/sysroots/x86_64-oe-linux/usr
--exec_prefix=$P/sysroots/x86_64-oe-linux/usr
--bindir=$P/sysroots/x86_64-oe-linux/usr/bin/armv5te-linux-gnueabi
--sbindir=$P/sysroots/x86_64-oe-linux/usr/bin/armv5te-linux-gnueabi
--libexecdir=$P/sysroots/x86_64-oe-linux/usr/libexec/armv5te-linux-gnueabi
--datadir=$P/sysroots/x86_64-oe-linux/usr/share
--sysconfdir=$P/sysroots/x86_64-oe-linux/etc
--sharedstatedir=$P/sysroots/x86_64-oe-linux/com
--localstatedir=$P/sysroots/x86_64-oe-linux/var
--libdir=$P/sysroots/x86_64-oe-linux/usr/lib/armv5te-linux-gnueabi
--includedir=$P/sysroots/x86_64-oe-linux/usr/include
--oldincludedir=$P/sysroots/x86_64-oe-linux/usr/include
--infodir=$P/sysroots/x86_64-oe-linux/usr/share/info
--mandir=$P/sysroots/x86_64-oe-linux/usr/share/man --disable-silent-rules
--with-libtool-sysroot=$P/sysroots/x86_64-oe-linux --with-gnu-ld
--enable-shared --enable-languages=c,c++ --enable-threads=posix
--disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu
--enable-libstdcxx-pch --program-prefix=arm-linux-gnueabi-
--enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap
--disable-libgomp --disable-libmudflap --enable-cheaders=c_global
--with-abi=aapcs-linux --with-float=soft
--with-local-prefix=$P/sysroots/toradex-colibri320/usr
--with-gxx-include-dir=/usr/include/c++
--with-sysroot=$P/sysroots/toradex-colibri320
--with-build-sysroot=$P/sysroots/toradex-colibri320
--enable-poison-system-directories
--with-headers=$P/sysroots/toradex-colibri320/usr/include
--disable-libunwind-exceptions --with-mpfr=$P/sysroots/x86_64-oe-linux/usr
--with-system-zlib --enable-nls --enable-__cxa_atexit --enable-__cxa_atexit
Thread model: posix
gcc version 4.6.1 20110627 (prerelease) (GCC)
(it is the gcc-4.6 from OpenEmbedded Core)