[Bug tree-optimization/68775] spec2006 test case 465.tonto fails with the gcc 6.0 fortran compiler

2015-12-10 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775

--- Comment #6 from William Seurer  ---
Sorry, I wasn't very clear there.  I was adding options to the default set.

Compiling as-is using the default options the run will fail.

Adding -fno-tree-loop-vectorize the run will fail.

Adding -fno-tree-slp-vectorize the run will succeed.  Of course just using
-fno-tree-slp-vectorize also allows the run to succeed.

The specific module that breaks things is shell2.fppized.f90.  When I compile
just it with -fno-tree-slp-vectorize also the run succeeds.

[Bug tree-optimization/68775] spec2006 test case 465.tonto fails with the gcc 6.0 fortran compiler

2015-12-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775

--- Comment #5 from rguenther at suse dot de  ---
On Wed, 9 Dec 2015, seurer at linux dot vnet.ibm.com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775
> 
> --- Comment #4 from William Seurer  ---
> (In reply to Richard Biener from comment #1)
> > Can you try to bisect to an affected source file (just use
> > -fno-tree-vectorize on all but one) and there to whether it is basic-block
> > or loop vectorization
> > (-fno-tree-loop-vectorize / -fno-tree-slp-vectorize) and specific
> > loop/basic-block with -fdbg-cnt=vect_slp:N or -fdbg-cnt=vect_loop:N?
> > 
> > Note that it seems that tonto also fails (since forever) with AVX2 on 
> > x86_64.
> 
> It still fails with just -fno-tree-vectorize but succeeds with both
> -fno-tree-loop-vectorize and -fno-tree-slp-vectorize.

That's a very odd observation as -fno-tree-vectorize should be
equivalent to -fno-tree-loop-vectorize -fno-tree-slp-vectorize.

I understand your sentence correct in that -fno-tree-loop-vectorize
makes 465.tonto no longer miscompare.  The same is true for
-fno-tree-slp-vectorize.  But with -fno-tree-vectorize 465.tonto
still miscompares?

> I am about to go through it flipping those for individual modules.

Thanks.

[Bug tree-optimization/68775] spec2006 test case 465.tonto fails with the gcc 6.0 fortran compiler

2015-12-09 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775

--- Comment #4 from William Seurer  ---
(In reply to Richard Biener from comment #1)
> Can you try to bisect to an affected source file (just use
> -fno-tree-vectorize on all but one) and there to whether it is basic-block
> or loop vectorization
> (-fno-tree-loop-vectorize / -fno-tree-slp-vectorize) and specific
> loop/basic-block with -fdbg-cnt=vect_slp:N or -fdbg-cnt=vect_loop:N?
> 
> Note that it seems that tonto also fails (since forever) with AVX2 on x86_64.

It still fails with just -fno-tree-vectorize but succeeds with both
-fno-tree-loop-vectorize and -fno-tree-slp-vectorize.

I am about to go through it flipping those for individual modules.

[Bug tree-optimization/68775] spec2006 test case 465.tonto fails with the gcc 6.0 fortran compiler

2015-12-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775

--- Comment #3 from rguenther at suse dot de  ---
On Tue, 8 Dec 2015, izamyatin at gmail dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775
> 
> Igor Zamyatin  changed:
> 
>What|Removed |Added
> 
>  CC||izamyatin at gmail dot com
> 
> --- Comment #2 from Igor Zamyatin  ---
> 
> > 
> > Note that it seems that tonto also fails (since forever) with AVX2 on 
> > x86_64.
> 
> Hmmm, at what optset are you seeing the failure?

As said it was an error on my side (modified sources ...).

[Bug tree-optimization/68775] spec2006 test case 465.tonto fails with the gcc 6.0 fortran compiler

2015-12-08 Thread izamyatin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775

Igor Zamyatin  changed:

   What|Removed |Added

 CC||izamyatin at gmail dot com

--- Comment #2 from Igor Zamyatin  ---

> 
> Note that it seems that tonto also fails (since forever) with AVX2 on x86_64.

Hmmm, at what optset are you seeing the failure?

[Bug tree-optimization/68775] spec2006 test case 465.tonto fails with the gcc 6.0 fortran compiler

2015-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68775

Richard Biener  changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu.org

--- Comment #1 from Richard Biener  ---
Can you try to bisect to an affected source file (just use -fno-tree-vectorize
on all but one) and there to whether it is basic-block or loop vectorization
(-fno-tree-loop-vectorize / -fno-tree-slp-vectorize) and specific
loop/basic-block with -fdbg-cnt=vect_slp:N or -fdbg-cnt=vect_loop:N?

Note that it seems that tonto also fails (since forever) with AVX2 on x86_64.