[Bug tree-optimization/99253] [10/11 Regression] tree-vect-loop wrong code

2021-02-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99253

--- Comment #3 from CVS Commits  ---
The master branch has been updated by Richard Biener :

https://gcc.gnu.org/g:1193d05465acd39b6e3c7095274d8351a1e2cd44

commit r11-7385-g1193d05465acd39b6e3c7095274d8351a1e2cd44
Author: Richard Biener 
Date:   Thu Feb 25 09:36:33 2021 +0100

tree-optimization/99253 - fix reduction path check

This fixes an ordering problem with verifying that no intermediate
computations in a reduction path are used outside of the chain.  The
check was disabled for value-preserving conversions at the tail
but whether a stmt was a conversion or not was only computed after
the first use.  The following fixes this by re-ordering things
accordingly.

2021-02-25  Richard Biener  

PR tree-optimization/99253
* tree-vect-loop.c (check_reduction_path): First compute
code, then verify out-of-loop uses.

* gcc.dg/vect/pr99253.c: New testcase.

[Bug tree-optimization/99253] [10/11 Regression] tree-vect-loop wrong code

2021-02-25 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99253

--- Comment #2 from Stefan Schulze Frielinghaus  
---
Still aborts with -fno-vect-cost-model on IBM Z.

[Bug tree-optimization/99253] [10/11 Regression] tree-vect-loop wrong code

2021-02-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99253

Richard Biener  changed:

   What|Removed |Added

  Known to fail||10.2.1
Summary|tree-vect-loop wrong code   |[10/11 Regression]
   ||tree-vect-loop wrong code
   Assignee|unassigned at gcc dot gnu.org  |rguenth at gcc dot 
gnu.org
   Target Milestone|--- |10.3
   Last reconfirmed||2021-02-25
  Known to work||9.3.0
 Ever confirmed|0   |1
 Status|UNCONFIRMED |ASSIGNED

--- Comment #1 from Richard Biener  ---
More likely b7ff7cef5005.  Try -fno-vect-cost-model on Z.  Mine.