[Bug c/33362] [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread victork at il dot ibm dot com


--- Comment #5 from victork at il dot ibm dot com  2007-09-09 13:33 ---
As bootstrap passes in revision 128297, I change the status to "FIXED".


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug c/33362] [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread victork at il dot ibm dot com


--- Comment #3 from victork at il dot ibm dot com  2007-09-09 13:22 ---
Just tried with revision 128297, and bootstrap passed OK.
Shell I close this PR?


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

  Component|middle-end  |c


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



[Bug c/33362] New: [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-08 Thread victork at il dot ibm dot com
Mainline revision 128287.

Configured with:
% ../gcc/configure --enable-languages=c,c++,fortran
bootsrapped with:
% make -j 8

Comparing stages 2 and 3
/home/victork/mainline/build.128287/stage3-gcc
warning: ./cc1plus-checksum.o differs
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./cfg.o differs
./cfgloopmanip.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/victork/mainline/build.128287'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/victork/mainline/build.128287'
make: *** [all] Error 2


-- 
   Summary: [4.3 Regression] Bootstrap comparison failure (rev.
128287)
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: victork at il dot ibm dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread victork at il dot ibm dot com


--- Comment #31 from victork at il dot ibm dot com  2007-08-14 05:53 ---
> Most everyone else bootstraps GCC on PPC64 with
> --with-cpu=default32.  Are you missing some packages on SUSE?  This really
> isn't a GCC bug any more, it is some problem with the way that you are
> configuring and building GCC on your system.

I think that my system is OK, since I am able to bootstrap with
--with-cpu=default32 without vectorization.

> this is a misscompilation of crtbegin.o that I have been investigating
> as well.  The reason seems to be that with -ftree-vectorize, we
> change alignment of __CTOR_LIST__ and __DTOR_LIST__, although why
> exactly this causes problems I did not find out yet.

Maybe it is somehow related to PR32893 ?


-- 


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-13 Thread victork at il dot ibm dot com


--- Comment #27 from victork at il dot ibm dot com  2007-08-13 15:09 ---
> this is the problem we discussed in this thread before; for now, add
> -mabi=altivec to BOOT_CFLAGS to workaround it.

yes, this helped. Still I see a failure in cofigure before stage3 starts:
checking for powerpc-suse-linux-gcc... 
/home/victork/mainline/build.trunk.127373/./prev-gcc/xgcc
-B/home/victork/mainline/build.trunk.127373/./prev-gcc/
-B/home/victork/mainline/usr.trunk.127373/powerpc-suse-linux/bin/
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

Seemingly, the compiler created by stage 2 is unusable.  I'm not sure if it was
originally a good idea to try to bootstrap ppc32 compiler on ppc64 machine.  Do
you think it is feasible? What should be configuration and bootstrap make
flags?


-- 


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-12 Thread victork at il dot ibm dot com


--- Comment #25 from victork at il dot ibm dot com  2007-08-13 06:42 ---
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 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? Can you give me an access to ppc32 to try my hand at it?


-- 


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



[Bug target/33042] [4.3 Regression] Bootstrap failure on ppc64

2007-08-12 Thread victork at il dot ibm dot com


--- Comment #2 from victork at il dot ibm dot com  2007-08-12 14:40 ---
I tested the fix at it worked OK for me.


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug c/33042] New: Bootstrap failure on ppc64

2007-08-10 Thread victork at il dot ibm dot com
Starting from revision r127304 bootstrap fails on ppc64 (see below).
I've checked that in r127330 it still fails.
r127304 | dje | 2007-08-08 22:33:24 +0300 (Wed, 08 Aug 2007) | 12 lines

* config/rs6000/x-rs6000: New file.
* config/rs6000/darwin.h (CC1_SPEC): Add cc1_cpu.
* config/rs6000/rs6000.h (EXTRA_SPECS): Add cc1_cpu.
(EXTRA_SPEC_FUNCTIONS): Define.
(HAVE_LOCAL_CPU_DETECT): Define.
(CC1_CPU_SPEC): Define.
* config/rs6000/driver-rs6000.c: New file.
* config/rs6000/aix.h (CC1_SPEC): Define.
* config/rs6000/sysv4.h (CC1_SPEC): Add cc1_cpu.
* config.host: Add x-rs6000 to host_xmake_file if host and target
are rs6000 or powerpc.




/home/victork/mainline/build.127330/./prev-gcc/xgcc
-B/home/victork/mainline/build.127330/./prev-gcc/
-B/home/victork/mainline/usr.127330/powerpc64-unknown-linux-gnu/bin/ -c   -g
-O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -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-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/config/rs6000/driver-rs6000.c
cc1: warnings being treated as errors
../../gcc/gcc/config/rs6000/driver-rs6000.c: In function 'elf_platform':
../../gcc/gcc/config/rs6000/driver-rs6000.c:153: error: cast to pointer from
integer of different size
/home/victork/mainline/build.127330/./prev-gcc/xgcc
-B/home/victork/mainline/build.127330/./prev-gcc/
-B/home/victork/mainline/usr.127330/powerpc64-unknown-linux-gnu/bin/ -c   -g
-O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -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/cppspec.c -o cppspec.o
make[3]: *** [driver-rs6000.o] Error 1
make[3]: *** Waiting for unfinished jobs
rm fsf-funding.pod gcov.pod gfdl.pod gpl.pod cpp.pod gfortran.pod gcc.pod
make[3]: Leaving directory `/home/victork/mainline/build.127330/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/victork/mainline/build.127330'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/victork/mainline/build.127330'
make: *** [bootstrap] Error 2


-- 
   Summary: Bootstrap failure on ppc64
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
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=33042



[Bug middle-end/32269] [4.3 Regression] 403.gcc miscompiled

2007-08-01 Thread victork at il dot ibm dot com


--- Comment #1 from victork at il dot ibm dot com  2007-08-01 11:24 ---
I've tried to build and run SPEC2006 403.gcc using r126903 and it did *not*
fail.

I've used following optimization flags in configuration file:
#
# Optimization
#
## Base is low opt
default=base=default=default:
COPTIMIZE= -O3 -funroll-loops -fpeel-loops -ftree-vectorize
CXXOPTIMIZE  = -O3 -funroll-loops -fpeel-loops -ftree-vectorize
FOPTIMIZE= -O3 -funroll-loops -fpeel-loops -ftree-vectorize


 % uname -a
Linux lnx-yaakov 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 x86_64
x86_64 x86_64 GNU/Linux


-- 


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-08-01 Thread victork at il dot ibm dot com


--- Comment #22 from victork at il dot ibm dot com  2007-08-01 09:21 ---
Zdenek, do you have the access to a ppc64 machine to work on the bootstrap
problem?  Can I provide an useful assistance?

-- Victor


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

 CC||victork at il dot ibm dot
   ||com


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-07-31 Thread victork at il dot ibm dot com


--- Comment #21 from victork at il dot ibm dot com  2007-07-31 11:57 ---
Just to be sure that the problem on ppc64 is not related to a problem with
passing -mabi during bootstrap I've tried to build with the patch from
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg02159.html
but it didn't help and bootstrap still fails in the same manner.


-- 


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-07-30 Thread victork at il dot ibm dot com


--- Comment #19 from victork at il dot ibm dot com  2007-07-30 11:08 ---
I've tried to bootstrap with "-mabi=altivec", but it failed with the same
error:

/home/victork/mainline-20-06/build.124727mabi/./prev-gcc/xgcc
-B/home/victork/mainline-20-06/build.124727mabi/./prev-gcc/
-B/home/victork/mainline/usr.124727mabi/powerpc64-unknown-linux-gnu/bin/ -c  
-g -O2 -ftree-vectorize -maltivec -mabi=altivec -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/regmove.c -o regmove.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 http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [regclass.o] Error 1
make[3]: *** Waiting for unfinished jobs
rm fsf-funding.pod gcov.pod gfdl.pod gpl.pod cpp.pod gfortran.pod gcc.pod
make[3]: Leaving directory `/home/victork/mainline-20-06/build.124727mabi/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/home/victork/mainline-20-06/build.124727mabi'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/victork/mainline-20-06/build.124727mabi'
make: *** [bootstrap] Error 2


-- 


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-07-02 Thread victork at il dot ibm dot com


--- Comment #4 from victork at il dot ibm dot com  2007-07-02 12:12 ---
Subject: Re:  Bootstrap with vectorization enabled fails with
 ICE on PPC



"rakdver at gcc dot gnu dot org" <[EMAIL PROTECTED]> wrote on
02.07.2007 14:51:35:

> OK, I will have a look.
thanks!

>  Could you please provide a preprocessed
> source for the
> testcase, I need to use a crosscompiler to reproduce it?

I'm using a native compiler and I'm not sure how easy it will be to
reproduce the
failure, as it happens during stage3 build using the compier from stage2
when
on "regclass.c" source. regclass.c passes the compilation when cc1 from
stage1 is used.

I've tried to get a backtrace using gdb, but I'm getting the following
error
from gdb:
(gdb) b main
Breakpoint 1 at 0x1009eac0: file ../../gcc/gcc/main.c, line 35.
(gdb) run
Starting program: /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 -ftree-vectorize -fno-common -o
x.s
Warning:
Cannot insert breakpoint -1.
Error accessing memory address 0x6a60d692: Input/output error.

(gdb)

-- Victor


-- 


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



[Bug regression/32582] Bootstrap with vectorization enabled fails with ICE on PPC

2007-07-02 Thread victork at il dot ibm dot com


--- Comment #2 from victork at il dot ibm dot com  2007-07-02 11:47 ---
Subject: Re:  Bootstrap with vectorization enabled fails with
 ICE on PPC

"rakdver at kam dot mff dot cuni dot cz" <[EMAIL PROTECTED]> wrote
on 02.07.2007 13:06:50:

>
> Does the fix for PR 32230 fix this?
>

Patch for PR 32230 did not help, it fails in the same fasion.


-- 


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



[Bug regression/32582] New: Bootstrap with vectorization enabled fails with ICE on PPC

2007-07-02 Thread victork at il dot ibm dot com
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 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



[Bug tree-optimization/26969] [4.1 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-09-11 Thread victork at il dot ibm dot com


--- Comment #14 from victork at il dot ibm dot com  2006-09-11 08:16 ---
I will look if patch http://gcc.gnu.org/ml/gcc-patches/2006-08/msg01171.html
fixes this one too and will remap it to 4.1


-- 


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



[Bug tree-optimization/26969] [4.1 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-09-03 Thread victork at il dot ibm dot com


--- Comment #13 from victork at il dot ibm dot com  2006-09-03 07:51 ---
this bug looks very similar to PR28839 which already have a fix in
patch http://gcc.gnu.org/ml/gcc-patches/2006-08/msg01171.html

We need to check if above patch fixes PR26969 as well.


-- 


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



[Bug c/28752] bootstrap comparision fails with "-ftree-vectorize -maltivec" on ppc

2006-08-16 Thread victork at il dot ibm dot com


--- Comment #1 from victork at il dot ibm dot com  2006-08-16 09:19 ---
gcc.o diff:

--- x   2006-08-16 12:16:58.669218328 +0300
+++ y   2006-08-16 12:17:05.353268576 +0300
@@ -1,6 +1,6 @@

-stage2-gcc/gcc.o: file format elf64-powerpc
-stage2-gcc/gcc.o
+stage3-gcc/gcc.o: file format elf64-powerpc
+stage3-gcc/gcc.o
 architecture: powerpc:common64, flags 0x0011:
 HAS_RELOC, HAS_SYMS
 start address 0x
@@ -7272,7 +7272,7 @@
 60a8:  e9 73 01 20 ld  r11,288(r19)
 60ac:  1d 29 00 18 mulli   r9,r9,24
 60b0:  7f 89 59 2a stdxr28,r9,r11
-60b4:  7f 49 5a 14 add r26,r9,r11
+60b4:  7f a9 5a 14 add r29,r9,r11
 60b8:  41 8e 01 94 beq-cr3,624c <.process_command+0x222c>
 60bc:  2f 9b 00 55 cmpwi   cr7,r27,85
 60c0:  41 9e 01 8c beq-cr7,624c <.process_command+0x222c>
@@ -7301,7 +7301,7 @@
 611c:  2f 9b 00 47 cmpwi   cr7,r27,71
 6120:  41 9e 01 2c beq-cr7,624c <.process_command+0x222c>
 6124:  88 1c 00 01 lbz r0,1(r28)
-6128:  3b 1c 00 01 addir24,r28,1
+6128:  3b 5c 00 01 addir26,r28,1
 612c:  7c 00 00 d0 neg r0,r0
 6130:  78 1e 0f e0 rldicl  r30,r0,1,63
 6134:  e8 82 01 e0 ld  r4,480(r2)
@@ -7347,7 +7347,7 @@
 61b8:  e9 33 01 1a lwa r9,280(r19)
 61bc:  e8 13 01 20 ld  r0,288(r19)
 61c0:  f8 7d 00 08 std r3,8(r29)
-61c4:  7f 03 c3 78 mr  r3,r24
+61c4:  7f 43 d3 78 mr  r3,r26
 61c8:  1d 29 00 18 mulli   r9,r9,24
 61cc:  7d 29 02 14 add r9,r9,r0
 61d0:  eb a9 00 08 ld  r29,8(r9)
@@ -7385,7 +7385,7 @@
 6244:  90 13 01 18 stw r0,280(r19)
 6248:  4b ff e7 38 b   4980 <.process_command+0x960>
 624c:  88 1c 00 01 lbz r0,1(r28)
-6250:  3b 1c 00 01 addir24,r28,1
+6250:  3b 5c 00 01 addir26,r28,1
 6254:  7c 00 00 d0 neg r0,r0
 6258:  78 1e 0f e1 rldicl. r30,r0,1,63
 625c:  40 82 fe d8 bne+6134 <.process_command+0x2114>
@@ -7435,8 +7435,8 @@
 62fc:  78 00 d1 82 rldicl  r0,r0,58,6
 6300:  7f de 00 50 subfr30,r30,r0
 6304:  7c 1e ba 14 add r0,r30,r23
-6308:  7c 1d 07 b4 extsw   r29,r0
-630c:  7f 99 e8 00 cmpwcr7,r25,r29
+6308:  7c 1b 07 b4 extsw   r27,r0
+630c:  7f 99 d8 00 cmpwcr7,r25,r27
 6310:  40 9d 05 10 ble-cr7,6820 <.process_command+0x2800>
 6314:  38 7e 00 01 addir3,r30,1
 6318:  7c 63 07 b4 extsw   r3,r3
@@ -7446,7 +7446,7 @@
 6324:  60 00 00 00 nop
 6328:  2f 9e 00 00 cmpwi   cr7,r30,0
 632c:  39 40 00 00 li  r10,0
-6330:  f8 7a 00 08 std r3,8(r26)
+6330:  f8 7d 00 08 std r3,8(r29)
 6334:  40 9d 00 58 ble-cr7,638c <.process_command+0x236c>
 6338:  e9 33 01 1a lwa r9,280(r19)
 633c:  e9 53 01 20 ld  r10,288(r19)
@@ -7468,7 +7468,7 @@
 637c:  39 29 00 08 addir9,r9,8
 6380:  42 00 ff f0 bdnz+   6370 <.process_command+0x2350>
 6384:  7b ca 1f 24 rldicr  r10,r30,3,60
-6388:  7f b7 eb 78 mr  r23,r29
+6388:  7f 77 db 78 mr  r23,r27
 638c:  e9 33 01 1a lwa r9,280(r19)
 6390:  e8 13 01 20 ld  r0,288(r19)
 6394:  1d 29 00 18 mulli   r9,r9,24
@@ -7503,16 +7503,16 @@
 63f8:  60 00 00 00 nop
 63fc:  2e 23 00 00 cmpdi   cr4,r3,0
 6400:  41 92 fd 64 beq+cr4,6164 <.process_command+0x2144>
-6404:  eb a2 01 f8 ld  r29,504(r2)
+6404:  eb 02 01 f8 ld  r24,504(r2)
6406: R_PPC64_TOC16_DS  .toc+0x1f8
 6408:  7f 83 e3 78 mr  r3,r28
-640c:  7f a4 eb 78 mr  r4,r29
+640c:  7f 04 c3 78 mr  r4,r24
 6410:  48 00 00 01 bl  6410 <.process_command+0x23f0>
6410: R_PPC64_REL24 .strcmp
 6414:  60 00 00 00 nop
 6418:  2f a3 00 00 cmpdi   cr7,r3,0
 641c:  40 9e 01 f8 bne-cr7,6614 <.process_command+0x25f4>
-6420:  7f a4 eb 78 mr  r4,r29
+6420:  7f 04 c3 78 mr  r4,r24
 6424:  7f 83 e3 78 mr  r3,r28
 6428:  48 00 00 01 bl  6428 <.process_command+0x2408>
6428: R_PPC64_REL24 .strcmp
@@ -7870,7 +7870,7 @@
 6870:  40 9e 00 64 bne-cr7,68d4 <.process_command+0x28b4>
 6874:  3a 80 00 00 li  r20,0
 6878:  4b ff e1 08 b   4980 <.process_command+

[Bug c/28752] New: bootstrap comparision fails with "-ftree-vectorize -maltivec" on ppc

2006-08-16 Thread victork at il dot ibm dot com
svn revision: 116108

make bootstrap BOOT_CFLAGS="-O2 -ftree-vectorize -maltivec" 2>&1 | tee
build.log

Comparing stages 2 and 3
/home/victork/mainline-merge/build/stage3-gcc
Bootstrap comparison failure!
./gcc.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/victork/mainline-merge/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/victork/mainline-merge/build'
make: *** [bootstrap] Error 2

 % stage3-gcc/xgcc -v
Using built-in specs.
Target: powerpc64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/Develop/mainline-merge
--enable-bootstrap --enable-languages=c,c++
Thread model: posix
gcc version 4.2.0 20060813 (experimental)

 % uname -a
Linux mac-victork.haifa.ibm.com 2.6.10-1.yhpc.1smp #1 SMP Thu Mar 17 19:38:06
MST 2005 ppc64 ppc64 ppc64 GNU/Linux
System compiler:
 % gcc -v
Reading specs from /usr/lib/gcc-lib/ppc64-yellowdog-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--enable-symvers=gnu --host=ppc64-yellowdog-linux --build=ppc64-yellowdog-linux
--target=ppc64-yellowdog-linux --with-cpu=default32 --enable-biarch
Thread model: posix
gcc version 3.3.3 (Yellow Dog Linux 3.3.3-16.ydl.8)


-- 
   Summary: bootstrap comparision fails with "-ftree-vectorize -
maltivec" on ppc
   Product: gcc
   Version: 4.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: victork at il dot ibm dot com
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


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



[Bug tree-optimization/26969] [4.1/4.2 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-06-07 Thread victork at il dot ibm dot com


--- Comment #6 from victork at il dot ibm dot com  2006-06-07 21:29 ---
patch: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00376.html


-- 


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



[Bug tree-optimization/26969] [4.1/4.2 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-06-07 Thread victork at il dot ibm dot com


--- Comment #5 from victork at il dot ibm dot com  2006-06-07 20:47 ---
This happens because (vect_do_peeling_for_alignment) was designed in an
assumption that latch is empty. Thus it doesn't handle PHIs in latches.
(vect_analyze_loop_form) checks the latch is empty, but doesn't check that list
of
its PHIs is empty as too.


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

 CC|        |victork at il dot ibm dot
   |        |com


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



[Bug tree-optimization/25918] gcc.dg/vect/vect-reduc-dot-s16.c scan-tree-dump-times vectorized 1 loops 1 and gcc.dg/vect/vect-reduc-pattern-2.c scan-tree-dump-times vectorized 2 loops 1 fail

2006-02-14 Thread victork at il dot ibm dot com


--- Comment #9 from victork at il dot ibm dot com  2006-02-14 12:20 ---
Hello,

I've prepared a patch to the testsuite to make dg-final checks
more precise. The patch was tested on ppc64-yellowdog-linux.

I have no access to IA64 box. Could someone check this patch on ia64?
The patch can be found in "mainline.PR25918-2.patch.txt" attachment.

Thanks,
-- victor


2006-02-12  Victor Kaplansky  <[EMAIL PROTECTED]>
PR tree-opt/25918

* lib/target-supports.exp
(check_effective_target_vect_char_mult): New.
  (check_effective_target_vect_short_mult): New.
(check_effective_target_vect_widen_sum_qi_to_si): New.
(check_effective_target_vect_widen_sum_qi_to_hi): New.
(check_effective_target_vect_widen_sum_hi_to_si): New.
* gcc.dg/vect/vect-reduc-dot-s16.c: Remove, split into
vect-reduc-dot-s16a.c and vect-reduc-dot-s16b.c
* vect-reduc-dot-s16a.c: New, split from vect-reduc-dot-s16.c.
* vect-reduc-dot-s16b.c: New, split from vect-reduc-dot-s16.c.
* gcc.dg/vect/vect-reduc-pattern-2.c: Remove, split into
vect-reduc-pattern-2a.c, vect-reduc-pattern-2b.c and
vect-reduc-pattern-2c.c
* gcc.dg/vect/vect-reduc-pattern-1.c: Remove, split into
vect-reduc-pattern-1a.c, vect-reduc-pattern-1b.c and
vect-reduc-pattern-1c.c


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

 CC|                |victork at il dot ibm dot
   |    |com


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



[Bug tree-optimization/25918] gcc.dg/vect/vect-reduc-dot-s16.c scan-tree-dump-times vectorized 1 loops 1 and gcc.dg/vect/vect-reduc-pattern-2.c scan-tree-dump-times vectorized 2 loops 1 fail

2006-02-14 Thread victork at il dot ibm dot com


--- Comment #8 from victork at il dot ibm dot com  2006-02-14 12:16 ---
Created an attachment (id=10847)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10847&action=view)
[patch] for PR 25918 (autovect)


-- 


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