aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-05-02 14:08:08 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-05-02 14:08:08 +0000
commit8964432ad6f17cef74aa97c367d2975ba9458f92 (patch)
tree172994fc163031c61f48b2a00664c4de0866fd0c /gcc/tree-ssa-loop.c
parent420ee75d7dbdba35878d7feabea7d30d77b82943 (diff)
downloadgcc-8964432ad6f17cef74aa97c367d2975ba9458f92.zip
gcc-8964432ad6f17cef74aa97c367d2975ba9458f92.tar.gz
gcc-8964432ad6f17cef74aa97c367d2975ba9458f92.tar.bz2
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
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r--gcc/tree-ssa-loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c
index 00a0950..1ac6cee 100644
--- a/gcc/tree-ssa-loop.c
+++ b/gcc/tree-ssa-loop.c
@@ -330,7 +330,7 @@ const pass_data pass_data_tree_loop_init =
PROP_cfg, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
- 0, /* todo_flags_start */
+ TODO_update_address_taken, /* todo_flags_start */
0, /* todo_flags_finish */
};