When I try to compile a program without optimisation (-O0) I get an internal compiler error. message from gcc: /usr/lib/gcc-lib/powerpc-linux/3.3.2/include/altivec.h: In function `vector short unsigned int vec_and(vector short unsigned int, vector short unsigned int)': /usr/lib/gcc-lib/powerpc-linux/3.3.2/include/altivec.h:670: error: unrecognizable insn: (insn 5 4 32 0 (nil) (set (reg:V8HI 119) (mem/f:V8HI (plus:SI (reg/f:SI 67 ap) (const_int 8 [0x8])) [0 a2+0 S16 A128])) -1 (nil) (nil)) /usr/lib/gcc-lib/powerpc-linux/3.3.2/include/altivec.h:670: internal compiler error: in extract_insn, at recog.c:2175 Please submit a full bug report, with preprocessed source if appropriate. output from gcc -v: Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.2/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib powerpc-linux Thread model: posix gcc version 3.3.2 (Debian) gcc command line: gcc -g -o matbug matbug.cpp -mcpu=7450 -maltivec -O0 -lstdc++ -Wall -pedantic -lefence -save-temps -fverbose-asm
Created attachment 5341 [details] preprocessed source file
This is a duplicate of my favourite bug, PR11591 (aka altivec-5.c).
Closing as a dup of bug 11591. *** This bug has been marked as a duplicate of 11591 ***