]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/104782 - adjust PR101636 fix
authorRichard Biener <rguenther@suse.de>
Mon, 7 Mar 2022 10:11:44 +0000 (11:11 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 7 Mar 2022 11:33:35 +0000 (12:33 +0100)
commit5db1d7f143c77543ae7a6c4649af3e611061e0d9
tree6040a216e6dca2a8220e2489cb72ca77a7046e32
parent40c1d4a07e5798c01e4364336c9617550744861d
tree-optimization/104782 - adjust PR101636 fix

This reverts the reversion of r10-5979 amending the CTOR case
with a comment as to why the conversion is not necessary there.
It also adds a testcase (but not for the CTOR case).

2022-03-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/104782
* tree-vect-slp.cc (vectorize_slp_instance_root_stmt):
Re-instantiate r10-5979 fix, add comment.

* gcc.dg/vect/pr104782.c: New testcase.
gcc/testsuite/gcc.dg/vect/pr104782.c [new file with mode: 0644]
gcc/tree-vect-slp.cc
This page took 0.059961 seconds and 5 git commands to generate.