Commit d6cfd931 by Paolo Bonzini Committed by Richard Biener

re PR tree-optimization/29753 (Volatile semantics ignored in some cases)

2006-11-15  Paolo Bonzini  <bonzini@gnu.org>

	PR middle-end/29753
	* gimplify.c (fold_indirect_ref_rhs): Use
	STRIP_USELESS_TYPE_CONVERSION rather than STRIP_NOPS.

From-SVN: r118845
parent 5868cbf9
2006-11-15 Paolo Bonzini <bonzini@gnu.org>
PR middle-end/29753
* gimplify.c (fold_indirect_ref_rhs): Use
STRIP_USELESS_TYPE_CONVERSION rather than STRIP_NOPS.
2006-11-14 Richard Earnshaw <rearnsha@arm.com>
* expmed.c (emit_store_flag_1): New function.
......
......@@ -3212,7 +3212,7 @@ fold_indirect_ref_rhs (tree t)
tree sub = t;
tree subtype;
STRIP_NOPS (sub);
STRIP_USELESS_TYPE_CONVERSION (sub);
subtype = TREE_TYPE (sub);
if (!POINTER_TYPE_P (subtype))
return NULL_TREE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment