Gcc version 4.2.0 configured for e500v2, i.e.: --target=powerpc-unknown-linux-gnuspe --enable-e500_double
ICE occurs during build of eglic-2.5. Here is the command with -v, attached is e_expl.i /_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/libexec/gcc/powerpc-unknown-linux-gnuspe/4.2.0/cc1 -E -quiet -nostdinc -v -I../include -I/tmp/edmar/gcc_420/build/obj_glibc/math -I/tmp/edmar/gcc_420/build/obj_glibc -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu -I../ports/sysdeps/powerpc/powerpc32/e500/fpu -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32/fpu -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../nptl/sysdeps/unix/sysv/linux/powerpc -I../ports/sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/powerpc/powerpc32/e500 -I../ports/sysdeps/powerpc/powerpc32 -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu -I../nptl/sysdeps/powerpc -I../ports/sysdeps/powerpc -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -MD /tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.d -MF /tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o.dt -MP -MT /tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o -MQ /tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -D_LIBC_REENTRANT -DNOT_IN_libc=1 -DIS_IN_libm=1 -isystem /_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include -isystem /_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include-fixed -isystem /_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/sysroot/usr/include -include ../include/libc-symbols.h ../sysdeps/ieee754/ldbl-128ibm/e_expl.c -mnew-mnemonics -mlong-double-128 -std=gnu99 -Wall -Winline -Wwrite-strings -Wstrict-prototypes -Wno-uninitialized -fmerge-all-constants -fworking-directory -O2 -fpch-preprocess -o e_expl.i ignoring nonexistent directory "/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include-fixed" #include "..." search starts here: #include <...> search starts here: ../include /tmp/edmar/gcc_420/build/obj_glibc/math /tmp/edmar/gcc_420/build/obj_glibc ../sysdeps/powerpc/powerpc32/elf ../sysdeps/powerpc/elf ../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu ../ports/sysdeps/powerpc/powerpc32/e500/fpu ../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500 ../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu ../sysdeps/powerpc/powerpc32/fpu ../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 ../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32 ../sysdeps/unix/sysv/linux/powerpc/powerpc32 ../nptl/sysdeps/unix/sysv/linux/powerpc ../ports/sysdeps/unix/sysv/linux/powerpc ../sysdeps/unix/sysv/linux/powerpc ../sysdeps/ieee754/ldbl-128ibm ../sysdeps/ieee754/ldbl-opt ../nptl/sysdeps/unix/sysv/linux ../nptl/sysdeps/pthread ../sysdeps/pthread ../ports/sysdeps/unix/sysv/linux ../sysdeps/unix/sysv/linux ../sysdeps/gnu ../sysdeps/unix/common ../sysdeps/unix/mman ../sysdeps/unix/inet ../nptl/sysdeps/unix/sysv ../ports/sysdeps/unix/sysv ../sysdeps/unix/sysv ../sysdeps/unix/powerpc ../nptl/sysdeps/unix ../ports/sysdeps/unix ../sysdeps/unix ../sysdeps/posix ../ports/sysdeps/powerpc/powerpc32/e500 ../ports/sysdeps/powerpc/powerpc32 ../sysdeps/powerpc/powerpc32 ../sysdeps/wordsize-32 ../sysdeps/powerpc/fpu ../nptl/sysdeps/powerpc ../ports/sysdeps/powerpc ../sysdeps/powerpc ../sysdeps/ieee754/dbl-64 ../sysdeps/ieee754/flt-32 ../sysdeps/ieee754 ../sysdeps/generic/elf ../sysdeps/generic ../nptl ../ports .. ../libio . /_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include /_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/sysroot/usr/include End of search list. /_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/libexec/gcc/powerpc-unknown-linux-gnuspe/4.2.0/cc1 -fpreprocessed e_expl.i -quiet -dumpbase e_expl.c -mnew-mnemonics -mlong-double-128 -auxbase-strip /tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o -g -O2 -Wall -Winline -Wwrite-strings -Wstrict-prototypes -Wno-uninitialized -std=gnu99 -version -fmerge-all-constants -o e_expl.s GNU C version 4.2.0 (powerpc-unknown-linux-gnuspe) compiled by GNU C version 4.1.0. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a666172138ca0c0512de464b313f1fec In file included from ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:68: ../sysdeps/generic/inttypes.h:399: warning: C99 inline functions are not supported; using GNU89 ../sysdeps/generic/inttypes.h:399: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute ../sysdeps/generic/inttypes.h:417: warning: C99 inline functions are not supported; using GNU89 ../sysdeps/generic/inttypes.h:433: warning: C99 inline functions are not supported; using GNU89 ../sysdeps/generic/inttypes.h:452: warning: C99 inline functions are not supported; using GNU89 In file included from ../posix/sys/types.h:224, from ../include/sys/types.h:2, from ../math/math_private.h:21, from ../ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h:2, from ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:69: ../sysdeps/unix/sysv/linux/sys/sysmacros.h:43: warning: C99 inline functions are not supported; using GNU89 ../sysdeps/unix/sysv/linux/sys/sysmacros.h:49: warning: C99 inline functions are not supported; using GNU89 ../sysdeps/unix/sysv/linux/sys/sysmacros.h:55: warning: C99 inline functions are not supported; using GNU89 In file included from ../ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h:2, from ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:69: ../math/math_private.h:196: warning: C99 inline functions are not supported; using GNU89 ../math/math_private.h:243: warning: C99 inline functions are not supported; using GNU89 ../math/math_private.h:311: warning: C99 inline functions are not supported; using GNU89 ../sysdeps/ieee754/ldbl-128ibm/e_expl.c: In function '__ieee754_expl': ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:257: error: unrecognizable insn: (insn 766 765 767 6 ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:156 (set (reg:DF 7 7) (mem/s/u:DF (plus:SI (reg:SI 29 29 [181]) (const_int 2848 [0xb20])) [5 __expl_table S8 A128])) -1 (nil) (nil)) ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:257: internal compiler error: in extract_insn, at recog.c:2077 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE on valid code Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: edmar at freescale dot com GCC build triplet: x86_64-redhat-linux GCC host triplet: x86_64-redhat-linux GCC target triplet: powerpc-unknown-linux-gnuspe http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32348