[Bug tree-optimization/101158] [10/11 Regression] ICE in gimple_call_arg, at gimple.h:3247

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

--- Comment #4 from CVS Commits  ---
The releases/gcc-11 branch has been updated by Richard Biener
:

https://gcc.gnu.org/g:48097089ae539bd5c2649681f93ce4a6bad72b11

commit r11-8655-g48097089ae539bd5c2649681f93ce4a6bad72b11
Author: Richard Biener 
Date:   Tue Jun 22 09:24:24 2021 +0200

tree-optimization/101158 - adjust SLP call matching sequence

This moves the check for same operands after verifying we're
facing compatible calls.

2021-06-22  Richard Biener  

PR tree-optimization/101158
* tree-vect-slp.c (vect_build_slp_tree_1): Move same operand
checking after checking for matching operation.

* gfortran.dg/pr101158.f90: New testcase.

(cherry picked from commit 7a22d8a764418265680a6bb9a9aec31e984eb015)

[Bug tree-optimization/101158] [10/11 Regression] ICE in gimple_call_arg, at gimple.h:3247

2021-06-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101158

Richard Biener  changed:

   What|Removed |Added

Summary|ICE in gimple_call_arg, at  |[10/11 Regression] ICE in
   |gimple.h:3247   |gimple_call_arg, at
   ||gimple.h:3247
   Priority|P3  |P2
   Target Milestone|--- |10.4
  Known to work||12.0

--- Comment #3 from Richard Biener  ---
Fixed on trunk, I think the issue is latent in GCC 11 and GCC 10.