Commit 38b882b5 by Tom de Vries Committed by Tom de Vries

Remove superfluous code in intra_create_variable_infos

2015-10-28  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-structalias.c (intra_create_variable_infos): Remove
	superfluous code.

From-SVN: r229506
parent e922069e
2015-10-28 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (intra_create_variable_infos): Remove
superfluous code.
2015-10-28 Jason Merrill <jason@redhat.com> 2015-10-28 Jason Merrill <jason@redhat.com>
* Makefile.in (TAGS): Include libcpp and libiberty. * Makefile.in (TAGS): Include libcpp and libiberty.
...@@ -5915,10 +5915,6 @@ intra_create_variable_infos (struct function *fn) ...@@ -5915,10 +5915,6 @@ intra_create_variable_infos (struct function *fn)
continue; continue;
} }
if (restrict_pointer_p)
make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
else
{
for (; p; p = vi_next (p)) for (; p; p = vi_next (p))
{ {
if (p->only_restrict_pointers) if (p->only_restrict_pointers)
...@@ -5929,7 +5925,6 @@ intra_create_variable_infos (struct function *fn) ...@@ -5929,7 +5925,6 @@ intra_create_variable_infos (struct function *fn)
break; break;
} }
} }
}
/* Add a constraint for a result decl that is passed by reference. */ /* Add a constraint for a result decl that is passed by reference. */
if (DECL_RESULT (fn->decl) if (DECL_RESULT (fn->decl)
......
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