Set PROP_gimple_lva for functions without IFN_VA_ARG
authorTom de Vries <tom@codesourcery.com>
Fri, 17 Apr 2015 09:27:08 +0000 (09:27 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 17 Apr 2015 09:27:08 +0000 (09:27 +0000)
commitd67cb100c6b0597e0377481ecd0f76e8e555770f
treeda8ccc329015608df03029dffb874f96544fad71
parentf8e89441bc5518f450b6511c59c17c837859d109
Set PROP_gimple_lva for functions without IFN_VA_ARG

2015-04-17  Tom de Vries  <tom@codesourcery.com>

* gimplify.c (gimplify_function_tree): Tentatively set PROP_gimple_lva
in cfun->curr_properties.
(gimplify_va_arg_expr): Clear PROP_gimple_lva in cfun->curr_properties
if we generate an IFN_VA_ARG.
* tree-inline.c (expand_call_inline): Reset PROP_gimple_lva in dest
function if PROP_gimple_lva is not set in src function.

From-SVN: r222174
gcc/ChangeLog
gcc/gimplify.c
gcc/tree-inline.c