* gimple-ssa-strength-reduction.c
(find_candidates_dom_walker::before_dom_children): Also allow
pointer types.
From-SVN: r251791
+2017-09-06 Richard Biener <rguenther@suse.de>
+
+ * gimple-ssa-strength-reduction.c
+ (find_candidates_dom_walker::before_dom_children): Also allow
+ pointer types.
+
2017-09-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/82108
slsr_process_ref (gs);
else if (is_gimple_assign (gs)
- && INTEGRAL_TYPE_P (TREE_TYPE (gimple_assign_lhs (gs))))
+ && (INTEGRAL_TYPE_P (TREE_TYPE (gimple_assign_lhs (gs)))
+ || POINTER_TYPE_P (TREE_TYPE (gimple_assign_lhs (gs)))))
{
tree rhs1 = NULL_TREE, rhs2 = NULL_TREE;