re PR tree-optimization/49493 (ICE: in insert_vi_for_tree, at tree-ssa-structalias...
authorRichard Guenther <rguenther@suse.de>
Wed, 22 Jun 2011 18:02:06 +0000 (18:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 22 Jun 2011 18:02:06 +0000 (18:02 +0000)
commit9c7c9f10c3bac5a7b3c5a46f52449cd095a767da
tree09cf8e6a4c12901e2c4ac308c41636ffb5c92b2f
parent7b902b811ba4b83f0bbd3c684d1bf01b4660c650
re PR tree-optimization/49493 (ICE: in insert_vi_for_tree, at tree-ssa-structalias.c:2637 with -O -fipa-pta)

2011-06-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49493
* tree-ssa-structalias.c (get_constraint_for_ssa_var):
Refer to the alias target of variables.
(associate_varinfo_to_alias_1): Remove.
(ipa_pta_execute): Do not associate aliases with anything.
* cgraph.h (varpool_alias_aliased_node): Fix cut&paste errors.
(cgraph_function_node): Likewise.
(cgraph_function_or_thunk_node): Likewise.
(varpool_variable_node): Likewise.

* gcc.dg/ipa/ipa-pta-17.c: New testcase.

From-SVN: r175300
gcc/ChangeLog
gcc/cgraph.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-pta-17.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c