aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.h
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-05-12 09:46:47 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-05-12 09:46:47 +0000
commitc7b38fd54552f2ff37becfb1a71ab3c2e1f8462d (patch)
treec10f8ac5291a1a6a12e7472c1ad1acd14764ffef /gcc/gimplify.h
parentfed8bd87d5832d9c61c648ed2a2103f853fad00a (diff)
downloadgcc-c7b38fd54552f2ff37becfb1a71ab3c2e1f8462d.zip
gcc-c7b38fd54552f2ff37becfb1a71ab3c2e1f8462d.tar.gz
gcc-c7b38fd54552f2ff37becfb1a71ab3c2e1f8462d.tar.bz2
Don't take address of ap unless necessary
2015-05-12 Tom de Vries <tom@codesourcery.com> PR tree-optimization/66010 * gimplify.c (gimplify_modify_expr): Handle new do_deref argument of ifn_va_arg. * gimplify.h (gimplify_va_arg_internal): Remove loc parameter. (gimplify_va_arg_internal): Remove loc parameter. Assert no array-typed va_lists are passed, and remove corresponding handling. (gimplify_va_arg_expr): Only take address of ap if necessary. Add do_deref argument to ifn_va_arg. * tree-stdarg.c (expand_ifn_va_arg_1): Handle new do_deref argument of ifn_va_arg. * c-common.c (build_va_arg): Don't mark ap addressable unless necessary. * gcc.dg/tree-ssa/stdarg-2.c: Undo scan xfails for f15. From-SVN: r223054
Diffstat (limited to 'gcc/gimplify.h')
-rw-r--r--gcc/gimplify.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gimplify.h b/gcc/gimplify.h
index bad8e0f..83bf525 100644
--- a/gcc/gimplify.h
+++ b/gcc/gimplify.h
@@ -82,8 +82,7 @@ extern void gimplify_function_tree (tree);
extern enum gimplify_status gimplify_va_arg_expr (tree *, gimple_seq *,
gimple_seq *);
gimple gimplify_assign (tree, tree, gimple_seq *);
-extern tree gimplify_va_arg_internal (tree, tree, location_t, gimple_seq *,
- gimple_seq *);
+extern tree gimplify_va_arg_internal (tree, tree, gimple_seq *, gimple_seq *);
/* Return true if gimplify_one_sizepos doesn't need to gimplify
expr (when in TYPE_SIZE{,_UNIT} and similar type/decl size/bitsize