[Bug tree-optimization/64950] postpone expanding va_arg till pass_stdarg
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 17 09:51:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64950
--- Comment #6 from vries at gcc dot gnu.org ---
https://gcc.gnu.org/ml/gcc-cvs/2015-04/msg00372.html :
Author: vries
Date: Fri Apr 17 09:27:08 2015
New Revision: 222174
URL: https://gcc.gnu.org/viewcvs?rev=222174&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/tree-inline.c
More information about the Gcc-bugs
mailing list