tree-optimization/97095 - fix typo in vectorizable_live_operation
authorRichard Biener <rguenther@suse.de>
Fri, 18 Sep 2020 09:34:31 +0000 (11:34 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 18 Sep 2020 09:37:00 +0000 (11:37 +0200)
commit3ea069da14c5f6276ae26d2109e9ae0765c09199
tree21e7545f32aea2208b9922103bd92c62d4a2170d
parent0f6150a5d368fc30540dac31e29f1d6d40f207d3
tree-optimization/97095 - fix typo in vectorizable_live_operation

This fixes a typo introduced with the last change and not noticed
because those vectorizer access macros are not type safe ...

2020-09-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97095
* tree-vect-loop.c (vectorizable_live_operation): Get
the SLP vector type from the correct object.

* gfortran.dg/pr97095.f: New testcase.
gcc/testsuite/gfortran.dg/pr97095.f [new file with mode: 0644]
gcc/tree-vect-loop.c