re PR tree-optimization/89653 (Missing vectorization of loop containing std::min...
authorRichard Biener <rguenther@suse.de>
Thu, 2 May 2019 14:08:08 +0000 (14:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 2 May 2019 14:08:08 +0000 (14:08 +0000)
commit8964432ad6f17cef74aa97c367d2975ba9458f92
tree172994fc163031c61f48b2a00664c4de0866fd0c
parent420ee75d7dbdba35878d7feabea7d30d77b82943
re PR tree-optimization/89653 (Missing vectorization of loop containing std::min/std::max and temporary)

2019-05-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89653
* tree-ssa-loop.c (pass_data_tree_loop_init): Execute
update-address-taken before the pass.
* passes.def (pass_tree_loop_init): Put comment before it.

* g++.dg/vect/pr89653.cc: New testcase.

From-SVN: r270800
gcc/ChangeLog
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/vect/pr89653.cc [new file with mode: 0644]
gcc/tree-ssa-loop.c