[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#205899: gcc-3.3: [ppc] ICE on code using altivec



severity 205899 important
forwarded 205899 http://gcc.gnu.org/PR11793
tags 205899 + upstream
merge 205899 203835
thanks

Guido Guenther writes:
> Package: gcc-3.3
> Version: 1:3.3.2-0pre1
> Severity: normal
> 
> Hi,
> here's an ICE when building mplayer with altivec support on ppc:
> 
> gcc -O4   -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -maltivec -mabi=altivec -c -o ppc/mpegvideo_altivec.o ppc/mpegvideo_altivec.c 
> ppc/mpegvideo_altivec.c: In function `dct_quantize_altivec':
> ppc/mpegvideo_altivec.c:512: error: unrecognizable insn:
> (insn 1550 251 1551 2 (nil) (set (reg:V4SF 96 v19)
>         (const_vector:V4SF [
>                 (const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
>                 (const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
>                 (const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
>                 (const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
>             ])) -1 (nil)
>     (nil))
> ppc/mpegvideo_altivec.c:512: internal compiler error: in extract_insn, at recog.c:2175
> 
> Compiling without any -O switch works. Compiling with -snapshot gives
> a different ICE at the same code line.
> 
> The preprocessed sources (built with gcc-3.3) are at:
>  http://honk.physik.uni-konstanz.de/linux-mips/gcc/bugs/mpegvideo_altivec.[si]
> Regards,
>  -- Guido
> 
> 
> -- System Information:
> Debian Release: testing/unstable
> Architecture: powerpc
> Kernel: Linux bogon 2.4.21-ben2-agx #1 Fri Aug 15 12:12:18 CEST 2003 ppc
> Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
> 
> Versions of packages gcc-3.3 depends on:
> ii  binutils                 2.14.90.0.5-0.2 The GNU assembler, linker and bina
> ii  cpp-3.3                  1:3.3.2-0pre1   The GNU C preprocessor
> ii  gcc-3.3-base             1:3.3.2-0pre1   The GNU Compiler Collection (base 
> hi  libc6                    2.3.1-16        GNU C Library: Shared libraries an
> ii  libgcc1                  1:3.3.2-0pre1   GCC support library
> 
> -- no debconf information
> 



Reply to: