Commit f7bad97d by Eric Botcazou Committed by Eric Botcazou

tree.c (recompute_tree_invariant_for_addr_expr): Assert that the argument is an ADDR_EXPR.

	* tree.c (recompute_tree_invariant_for_addr_expr): Assert that the
	argument is an ADDR_EXPR.

From-SVN: r228870
parent 872dae48
2015-10-16 Eric Botcazou <ebotcazou@adacore.com>
* tree.c (recompute_tree_invariant_for_addr_expr): Assert that the
argument is an ADDR_EXPR.
2015-10-16 Richard Biener <rguenther@suse.de>
* gimple-fold.c (gimple_fold_builtin_memory_op): Use gimple_build
......@@ -4248,6 +4248,8 @@ recompute_tree_invariant_for_addr_expr (tree t)
tree node;
bool tc = true, se = false;
gcc_assert (TREE_CODE (t) == ADDR_EXPR);
/* We started out assuming this address is both invariant and constant, but
does not have side effects. Now go down any handled components and see if
any of them involve offsets that are either non-constant or non-invariant.
......
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