diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-11-04 14:18:43 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-11-04 14:18:43 +0000 |
commit | 7da5eaa09b6685d90da4271af9a1410aea231fb0 (patch) | |
tree | f051827ec3e48c8f18fd51a45e5498be1c22330f /gcc/cp/tree.c | |
parent | 7b0a0ee25fb5b2007aa4d93d0f9557de2f512bd8 (diff) | |
download | gcc-7da5eaa09b6685d90da4271af9a1410aea231fb0.zip gcc-7da5eaa09b6685d90da4271af9a1410aea231fb0.tar.gz gcc-7da5eaa09b6685d90da4271af9a1410aea231fb0.tar.bz2 |
Handle recursive restrict in function parameter
2015-11-04 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/67742
* tree-ssa-structalias.c (struct fieldoff): Add restrict_pointed_type
field.
(push_fields_onto_fieldstack): Handle restrict_pointed_type field.
(create_variable_info_for_1): Add and handle handle_param parameter.
Add restrict handling.
(create_variable_info_for): Call create_variable_info_for_1 with extra
arg.
(make_param_constraints): Drop restrict_name parameter. Ignore
vi->only_restrict_pointers.
(intra_create_variable_infos): Call create_variable_info_for_1 with
extra arg. Remove restrict handling. Call make_param_constraints with
one less arg.
* gcc.dg/tree-ssa/restrict-7.c: New test.
* gcc.dg/tree-ssa/restrict-8.c: New test.
From-SVN: r229755
Diffstat (limited to 'gcc/cp/tree.c')
0 files changed, 0 insertions, 0 deletions