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/13148] New: ICE on altivec while building code with debug enabled (-g) [regression]


the following error happens if you try to build libavicodec (get it from mplayer
or ffmpeg)
I experienced the same bug on gcc-3.3.2+altivec constant fixes and with 3.4 took
from cvs HEAD branch, the same code builds fine with gcc-3.2.3.

gcc -W -Wall -Wno-unused-parameter -O2 -mcpu=7450 -mtune=7450 -maltivec
-mabi=altivec -g  -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
-c -o ppc/mpegvideo_altivec.o ppc/mpegvideo_altivec.c
ppc/mpegvideo_altivec.c: In function `dct_quantize_altivec':
 
ppc/mpegvideo_altivec.c:165: internal compiler error: in
add_location_or_const_value_attribute, at dwarf2out.c:9460

Disabling debug leads to miscompiled code.

-- 
           Summary: ICE on altivec while building code with debug enabled (-
                    g) [regression]
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lu_zero at gentoo dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


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