Commit a4fff37a by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/35545 (tracer pass is run too late)

	PR middle-end/35535
	* tree-vrp.c (extract_range_from_unary_expr_1): Handle OBJ_TYPE_REF.

From-SVN: r206073
parent 91af97c3
2013-12-17 Jan Hubicka <hubicka@ucw.cz>
PR middle-end/35535
* tree-vrp.c (extract_range_from_unary_expr_1): Handle OBJ_TYPE_REF.
2013-12-17 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/59527
......@@ -3202,9 +3202,9 @@ extract_range_from_unary_expr_1 (value_range_t *vr,
}
/* Handle operations that we express in terms of others. */
if (code == PAREN_EXPR)
if (code == PAREN_EXPR || code == OBJ_TYPE_REF)
{
/* PAREN_EXPR is a simple copy. */
/* PAREN_EXPR and OBJ_TYPE_REF are simple copies. */
copy_value_range (vr, &vr0);
return;
}
......
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