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

Bug#206232: gcc-3.3: [ppc] segmentation fault on altivec code



On Tue, Aug 19, 2003 at 05:14:27PM +0200, Guido Guenther wrote:
> Package: gcc-3.3
> Version: 1:3.3.2-0pre1
> Severity: normal
> 
> Hi,
> gcc -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/idct_altivec.o ppc/idct_altivec.c 
> ppc/idct_altivec.c:171: internal compiler error: Segmentation fault
> Preprocessed source is at:
>  http://honk.physik.uni-konstanz.de/linux-mips/gcc/bugs/idct_altivec.i
> Compiles fine with gcc-snapshot 20030815-1.

Is fftw3's current build failure on powerpc the same bug? I've attached
preprocessed source for this; looking at PR target/11949 it seems
similar.

  $ gcc -O3 -fomit-frame-pointer -fno-schedule-insns -fstrict-aliasing -mcpu=powerpc -pthread -maltivec -mabi=altivec -fPIC n1fv_9.i
  n1fv_9.c: In function `n1fv_9':
  n1fv_9.c:43: error: unrecognizable insn:
  (insn 3105 1672 1673 2 (nil) (set (reg:V4SF 77 v0)
          (const_vector:V4SF [
                  (const_double:SF 9.3969261646270751953125e-1 [0x0.f08fb2p+0])
                  (const_double:SF 9.3969261646270751953125e-1 [0x0.f08fb2p+0])
                  (const_double:SF 9.3969261646270751953125e-1 [0x0.f08fb2p+0])
                  (const_double:SF 9.3969261646270751953125e-1 [0x0.f08fb2p+0])
              ])) -1 (nil)
      (nil))
  n1fv_9.c:43: internal compiler error: in extract_insn, at recog.c:2175
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Thanks,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]

Attachment: n1fv_9.i.gz
Description: Binary data


Reply to: