This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC
- From: "rakdver at kam dot mff dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2007 11:31:55 -0000
- Subject: [Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC
- References: <bug-32582-12180@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #26 from rakdver at kam dot mff dot cuni dot cz 2007-08-13 11:31 -------
Subject: Re: Bootstrap with vectorization enabled fails with ICE on PPC
> Yesterday, I've tried to check if mainline passes boostrap with vectorization
> enabled on ppc32 using latest mainline. Since I don't have the access to ppc32
> machine, I've tried to imitate in on ppc64 using the following config:
>
> ../gcc/configure --build=powerpc-suse-linux --with-cpu=default32
> --prefix=/home/victork/mainline/usr.trunk.127373
> --enable-languages=c,c++,fortran
>
> Unfortuantely, this bootstrap failed as shown below:
>
> .....
> /home/victork/mainline/build.trunk.127373/./gcc/xgcc
> -B/home/victork/mainline/build.trunk.127373/./gcc/
> -B/home/victork/mainline/usr.trunk.127373/powerpc-suse-linux/bin/
> -B/home/victork/mainline/usr.trunk.127373/powerpc-suse-linux/lib/ -isystem
> /home/victork/mainline/usr.trunk.127373/powerpc-suse-linux/include -isystem
> /home/victork/mainline/usr.trunk.127373/powerpc-suse-linux/sys-include -g -O2
> -ftree-vectorize -maltivec -msoft-float -fPIC -mstrict-align -O2 -O2 -g -O2
> -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -mlong-double-128 -I. -I.
> -I../../.././gcc -I../../../../gcc/libgcc -I../../../../gcc/libgcc/.
> -I../../../../gcc/libgcc/../gcc -I../../../../gcc/libgcc/../include
> -I../../../../gcc/libgcc/../libdecnumber/dpd
> -I../../../../gcc/libgcc/../libdecnumber -I../../../libdecnumber -DHAVE_CC_TLS
> -o _ashldi3.o -MT _ashldi3.o -MD -MP -MF _ashldi3.dep -DL_ashldi3 -c
> ../../../../gcc/libgcc/../gcc/libgcc2.c \
> -fvisibility=hidden -DHIDE_EXPORTS
> ../../../../gcc/libgcc/../gcc/libgcc2.c: In function '__negdi2':
> ../../../../gcc/libgcc/../gcc/libgcc2.c:80: internal compiler error: in
> push_reload, at reload.c:1288
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[5]: *** [_negdi2.o] Error 1
> make[5]: *** Waiting for unfinished jobs....
>
>
> Zdenek, David, did you try to test bootstrap with vectoriaztion enabled
> recently?
this is the problem we discussed in this thread before; for now, add
-mabi=altivec to BOOT_CFLAGS to workaround it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32582