Since revision 124727, mainline doesn't pass bootstrap wirh vectorization
enabled on ppc.  It works OK on x86.  Revision 124727 was committed on
2007-05-15 by Zdenek Dvorak  <[EMAIL PROTECTED]>.


configured and built with:
  ../gcc/configure --prefix=/home/victork/mainline-vanila/usr.124727 \
      --enable-languages=c
  make bootstrap BOOT_CFLAGS="-g -O2 -ftree-vectorize -maltivec"

The result is:
[...]
/home/victork/mainline-20-06/build.124727/./prev-gcc/xgcc
-B/home/victork/mainline-20-06/build.124727/./prev-gcc/
-B/home/victork/mainline-vanila/usr.124727/powerpc64-unknown-linux-gnu/bin/ -c 
 -g -O2 -ftree-vectorize -maltivec -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wmissing-format-attribute -Werror -fno-common   -DHAVE_CONFIG_H -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber   
../../gcc/gcc/regclass.c -o regclass.o
../../gcc/gcc/regclass.c: In function 'init_regs':
../../gcc/gcc/regclass.c:579: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [regclass.o] Error 1
make[3]: Leaving directory `/home/victork/mainline-20-06/build.124727/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/home/victork/mainline-20-06/build.124727'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/victork/mainline-20-06/build.124727'
make: *** [bootstrap] Error 2

The failure is in the following command:
/home/victork/mainline-20-06/build.124727/./prev-gcc/cc1 -quiet -v -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -iprefix
/home/victork/mainline-20-06/build.124727/prev-gcc/../lib/gcc/powerpc64-unknown-linux-gnu/4.3.0/
-isystem /home/victork/mainline-20-06/build.124727/./prev-gcc/include -isystem
/home/victork/mainline-20-06/build.124727/./prev-gcc/include-fixed -D__unix__
-D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux
-Asystem=unix -Asystem=posix -DIN_GCC -DHAVE_CONFIG_H ../../gcc/gcc/regclass.c
-quiet -dumpbase regclass.c -maltivec -auxbase-strip regclass.o -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wmissing-format-attribute -Werror -version -fno-common
-o /tmp/ccQwGuJU.s

and it works OK if "-ftree-vectorize" is omitted.


I can add full make log if it is needed.
-- Victor


-- 
           Summary: Bootstrap with vectorization enabled fails with ICE on
                    PPC
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: victork at il dot ibm dot com
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


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

Reply via email to