Gimplify va_arg ap based on do_deref
authorTom de Vries <tom@codesourcery.com>
Wed, 13 May 2015 09:06:18 +0000 (09:06 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 13 May 2015 09:06:18 +0000 (09:06 +0000)
commitfcd424cecbe8874404fc92520954ec806e7886fc
tree329af8074710a22884ff6b12ff17c6f07afbea73
parent7947dd0bdf9cfe2a704355b1e5d7c7f786c67b9b
Gimplify va_arg ap based on do_deref

2015-05-13  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/66010
* gimplify.h (gimplify_va_arg_internal): Remove declaration.
* gimplify.c (gimplify_va_arg_internal): Remove and inline into ...
* tree-stdarg.c (expand_ifn_va_arg_1): ... here.  Choose between lval
and rval based on do_deref.

From-SVN: r223120
gcc/ChangeLog
gcc/gimplify.c
gcc/gimplify.h
gcc/tree-stdarg.c