]> gcc.gnu.org Git - gcc.git/commit - gcc/cfgexpand.c
tree-ssa-alias.h (struct pt_solution): Remove vars_contains_restrict member.
authorRichard Guenther <rguenther@suse.de>
Tue, 18 Oct 2011 09:04:54 +0000 (09:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 18 Oct 2011 09:04:54 +0000 (09:04 +0000)
commitd355361573c6be211721cc5c945dd5cecdd33c6b
treead64e7e5ce1fd4cc1b53fc1e3855b9d08b561592
parent266fbb797168bffea7bf23c20c2a5562d73bb8ca
tree-ssa-alias.h (struct pt_solution): Remove vars_contains_restrict member.

2011-10-18  Richard Guenther  <rguenther@suse.de>

* tree-ssa-alias.h (struct pt_solution): Remove
vars_contains_restrict member.
(pt_solutions_same_restrict_base): Remove.
(pt_solution_set): Adjust.
* tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Remove
vars_contains_restrict handling.
(dump_points_to_solution): Likewise.
(ptr_derefs_may_alias_p): Do not call pt_solutions_same_restrict_base.
* tree-ssa-structalias.c (struct variable_info): Remove is_restrict_var
field.
(new_var_info): Do not initialize it.
(ipa_escaped_pt): Adjust.
(make_constraint_from_restrict): Make the tag global.
(make_constraint_from_global_restrict): New function.
(make_constraint_from_heapvar): Remove.
(create_variable_info_for): Do not make restrict vars point
to NONLOCAL.
(intra_create_variable_infos): Likewise.
(find_what_var_points_to): Remove vars_contains_restrict handling.
(pt_solution_set): Adjust.
(pt_solution_ior_into): Likewise.
(pt_solutions_same_restrict_base): Remove.
(compute_points_to_sets): Do not test is_restrict_var.
* cfgexpand.c (update_alias_info_with_stack_vars): Adjust.
* gimple-pretty-print.c (pp_points_to_solution): Likewise.

* gcc.dg/torture/restrict-1.c: New testcase.

From-SVN: r180127
gcc/ChangeLog
gcc/cfgexpand.c
gcc/gimple-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/restrict-1.c [new file with mode: 0644]
gcc/tree-ssa-alias.c
gcc/tree-ssa-alias.h
gcc/tree-ssa-structalias.c
This page took 0.065072 seconds and 5 git commands to generate.