]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/43879 (-fipa-pta causes various miscompilations)
authorRichard Guenther <rguenther@suse.de>
Wed, 28 Apr 2010 11:51:31 +0000 (11:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 28 Apr 2010 11:51:31 +0000 (11:51 +0000)
commit18abb35edfc9f88c783813982e568978c2cb51cc
tree0ace7a08cf72fdb2e7076ab8e3c98f7a7d554c4b
parentc718820a974fa2cbd5a181e02d8d19ac2b3dd8f6
re PR tree-optimization/43879 (-fipa-pta causes various miscompilations)

2010-04-28  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43879
PR tree-optimization/43909
* tree-ssa-structalias.c (struct variable_info): Add
only_restrict_pointers flag.
(new_var_info): Initialize it.  Increment stats.total_vars here.
(create_function_info_for): Do not increment stats.total_vars
here.
(get_function_part_constraint): Fix build with C++.
(insert_into_field_list): Remove.
(push_fields_onto_fieldstack): Properly merge fields.
(create_variable_info_for): Split and simplify.
(create_variable_info_for_1): New piece.
(intra_create_variable_infos): Properly make restrict constraints
from parameters.

* gcc.dg/ipa/ipa-pta-14.c: Adjust.

From-SVN: r158825
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-pta-14.c
gcc/tree-ssa-structalias.c