Commit b8a2f529 by Richard Guenther Committed by Richard Biener

passes.c (execute_function_todo): Call compute_may_aliases only if flag_tree_pta is set.

2012-09-06  Richard Guenther  <rguenther@suse.de>

	* passes.c (execute_function_todo): Call compute_may_aliases
	only if flag_tree_pta is set.

From-SVN: r191015
parent 31a47f1a
2012-09-06 Richard Guenther <rguenther@suse.de>
* passes.c (execute_function_todo): Call compute_may_aliases
only if flag_tree_pta is set.
2012-09-06 Andrew Pinski <apinski@cavium.com> 2012-09-06 Andrew Pinski <apinski@cavium.com>
PR tree-opt/54494 PR tree-opt/54494
......
...@@ -1776,7 +1776,8 @@ execute_function_todo (void *data) ...@@ -1776,7 +1776,8 @@ execute_function_todo (void *data)
if (flags & TODO_rebuild_alias) if (flags & TODO_rebuild_alias)
{ {
execute_update_addresses_taken (); execute_update_addresses_taken ();
compute_may_aliases (); if (flag_tree_pta)
compute_may_aliases ();
} }
else if (optimize && (flags & TODO_update_address_taken)) else if (optimize && (flags & TODO_update_address_taken))
execute_update_addresses_taken (); execute_update_addresses_taken ();
......
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