This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/11983] New: ICE on code using altivec


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11983

           Summary: ICE on code using altivec
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: agx at sigxcpu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux

Hi,
this might be related to 11793, but the PR
claims that the problem is fixed in head. I'm still seeing a (though
different) ICE with -snapshot at the same line of code as in 11793:

$ /usr/lib/gcc-snapshot/bin/gcc -O4 --save-temps -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
In function `dct_quantize_altivec':

ppc/mpegvideo_altivec.c:512: internal compiler error: in
add_location_or_const_value_attribute, at dwarf2out.c:9453

The problem can again be worked around by removing the -O4 switch.
Preprocessed source is up at:
http://honk.physik.uni-konstanz.de/linux-mips/gcc/bugs/mpegvideo_altivec-snapshot.i
Please let me know if I can provide any further details.
Regards,
 -- Guido


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]