Commit ee1f0fb0 by Diego Novillo Committed by Diego Novillo

tree-ssa-loop-im.c (single_reachable_address): Skip constant arguments.


	* tree-ssa-loop-im.c (single_reachable_address) <PHI_NODE>:
	Skip constant arguments.

From-SVN: r88237
parent 46d82a27
2004-09-28 Diego Novillo <dnovillo@redhat.com> 2004-09-28 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-loop-im.c (single_reachable_address) <PHI_NODE>:
Skip constant arguments.
2004-09-28 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-alias.c (create_name_tags): If PTR points to a * tree-ssa-alias.c (create_name_tags): If PTR points to a
volatile type, mark the tag volatile. volatile type, mark the tag volatile.
(get_tmt_for): If TAG_TYPE is a volatile type, mark the tag (get_tmt_for): If TAG_TYPE is a volatile type, mark the tag
......
...@@ -982,8 +982,9 @@ single_reachable_address (struct loop *loop, tree stmt, ...@@ -982,8 +982,9 @@ single_reachable_address (struct loop *loop, tree stmt,
case PHI_NODE: case PHI_NODE:
for (i = 0; i < (unsigned) PHI_NUM_ARGS (stmt); i++) for (i = 0; i < (unsigned) PHI_NUM_ARGS (stmt); i++)
maybe_queue_var (PHI_ARG_DEF (stmt, i), loop, if (TREE_CODE (PHI_ARG_DEF (stmt, i)) == SSA_NAME)
seen, queue, &in_queue); maybe_queue_var (PHI_ARG_DEF (stmt, i), loop,
seen, queue, &in_queue);
break; break;
default: default:
......
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