diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-06 12:53:26 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-06 12:53:26 +0000 |
commit | 1364c1e7775e6524649ba4b44e3224eee997b47b (patch) | |
tree | 6a10a3ad63cccc6daa182afb73afb3b1061e86c8 /gcc/tree-ssa-structalias.c | |
parent | 5dda16eaf06128cb542910fa495ea6a5784a1bc5 (diff) |
2016-05-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/70948
* tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
Properly clobber all fields of va_list for __builtin_va_start.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235963 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index d66bdfa94ce5..3956efd47666 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -4492,7 +4492,7 @@ find_func_aliases_for_builtin_call (struct function *fn, gcall *t) tree valist = gimple_call_arg (t, 0); struct constraint_expr rhs, *lhsp; unsigned i; - get_constraint_for (valist, &lhsc); + get_constraint_for_ptr_offset (valist, NULL_TREE, &lhsc); do_deref (&lhsc); /* The va_list gets access to pointers in variadic arguments. Which we know in the case of IPA analysis |