http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47197
Summary: ICE in gimplify_expr, at gimplify.c:7153 on AltiVec code (vec_dst) Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: treelang AssignedTo: unassig...@gcc.gnu.org ReportedBy: kaffeemons...@googlemail.com $ cat alti_crash.c #include <altivec.h> void func(unsigned char *buf, unsigned len) { vec_dst(buf, (len >= 256 ? 0 : len) | 512, 2); } $ powerpc-linux-gnu-gcc -maltivec -c alti_crash.c alti_crash.c: In function 'func': alti_crash.c:5:20: internal compiler error: in gimplify_expr, at gimplify.c:7153 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. $ powerpc-linux-gnu-gcc --version -v Using built-in specs. COLLECT_GCC=/usr/i686-pc-linux-gnu/powerpc-linux-gnu/gcc-bin/4.5.2/powerpc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-linux-gnu/4.5.2/lto-wrapper powerpc-linux-gnu-gcc (Gentoo 4.5.2 p1.0, pie-0.4.5) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Target: powerpc-linux-gnu Configured with: /var/tmp/portage/cross-powerpc-linux-gnu/gcc-4.5.2/work/gcc-4.5.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/powerpc-linux-gnu/gcc-bin/4.5.2 --includedir=/usr/lib/gcc/powerpc-linux-gnu/4.5.2/include --datadir=/usr/share/gcc-data/powerpc-linux-gnu/4.5.2 --mandir=/usr/share/gcc-data/powerpc-linux-gnu/4.5.2/man --infodir=/usr/share/gcc-data/powerpc-linux-gnu/4.5.2/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-linux-gnu/4.5.2/include/g++-v4 --host=i686-pc-linux-gnu --target=powerpc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-ppl-version-check --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/powerpc-linux-gnu/4.5.2/python --enable-checking=release --disable-libgcj --enable-languages=c --with-sysroot=/usr/powerpc-linux-gnu --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.2 p1.0, pie-0.4.5' Thread model: posix gcc version 4.5.2 (Gentoo 4.5.2 p1.0, pie-0.4.5) COLLECT_GCC_OPTIONS='-fversion' '-v' /usr/libexec/gcc/powerpc-linux-gnu/4.5.2/cc1 -quiet -v -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix help-dummy -D_FORTIFY_SOURCE=2 -msecure-plt -quiet -dumpbase help-dummy -auxbase help-dummy -version -fversion -o /tmp/ccujbTX3.s GNU C (Gentoo 4.5.2 p1.0, pie-0.4.5) version 4.5.2 (powerpc-linux-gnu) compiled by GNU C version 4.4.4, GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS='-fversion' '-v' /usr/libexec/gcc/powerpc-linux-gnu/as -mppc -many -V -Qy --version -o /tmp/cccIfFZe.o /tmp/ccujbTX3.s GNU assembler version 2.21 (powerpc-linux-gnu) using BFD version (GNU Binutils) 2.21 GNU assembler (GNU Binutils) 2.21 Copyright 2010 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `powerpc-linux-gnu'. COMPILER_PATH=/usr/libexec/gcc/powerpc-linux-gnu/4.5.2/:/usr/libexec/gcc/powerpc-linux-gnu/4.5.2/:/usr/libexec/gcc/powerpc-linux-gnu/:/usr/lib/gcc/powerpc-linux-gnu/4.5.2/:/usr/lib/gcc/powerpc-linux-gnu/:/usr/lib/gcc/powerpc-linux-gnu/4.5.2/../../../../powerpc-linux-gnu/bin/ LIBRARY_PATH=/usr/lib/gcc/powerpc-linux-gnu/4.5.2/:/usr/lib/gcc/powerpc-linux-gnu/4.5.2/../../../../powerpc-linux-gnu/lib/:/usr/powerpc-linux-gnu/lib/:/usr/powerpc-linux-gnu/usr/lib/ COLLECT_GCC_OPTIONS='-fversion' '-v' /usr/libexec/gcc/powerpc-linux-gnu/4.5.2/collect2 --sysroot=/usr/powerpc-linux-gnu --eh-frame-hdr -V -Qy -m elf32ppclinux -dynamic-linker /lib/ld.so.1 --version /usr/lib/gcc/powerpc-linux-gnu/4.5.2/../../../../powerpc-linux-gnu/lib/crt1.o /usr/lib/gcc/powerpc-linux-gnu/4.5.2/../../../../powerpc-linux-gnu/lib/crti.o /usr/lib/gcc/powerpc-linux-gnu/4.5.2/crtbegin.o -L/usr/lib/gcc/powerpc-linux-gnu/4.5.2 -L/usr/lib/gcc/powerpc-linux-gnu/4.5.2/../../../../powerpc-linux-gnu/lib -L/usr/powerpc-linux-gnu/lib -L/usr/powerpc-linux-gnu/usr/lib /tmp/cccIfFZe.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/powerpc-linux-gnu/4.5.2/crtend.o /usr/lib/gcc/powerpc-linux-gnu/4.5.2/../../../../powerpc-linux-gnu/lib/crtn.o GNU ld (GNU Binutils) 2.21 Supported emulations: elf32ppclinux elf32ppc elf32ppcsim elf64ppc GNU ld (GNU Binutils) 2.21 Copyright 2010 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. I know, i know, It not vanilla gcc, but otherwise i can not get a vanilla cross-compiler that fast, maybe someone can confirm... Greetings Jan