+2014-06-26 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-dom.c (cprop_operand): Remove restriction on
+ propagating volatile pointers.
+
2014-06-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/61607
if (!may_propagate_copy (op, val))
return;
- /* Do not propagate addresses that point to volatiles into memory
- stmts without volatile operands. */
- if (POINTER_TYPE_P (TREE_TYPE (val))
- && TYPE_VOLATILE (TREE_TYPE (TREE_TYPE (val)))
- && gimple_has_mem_ops (stmt)
- && !gimple_has_volatile_ops (stmt))
- return;
-
/* Do not propagate copies if the propagated value is at a deeper loop
depth than the propagatee. Otherwise, this may move loop variant
variables outside of their loops and prevent coalescing