[Bug tree-optimization/66010] [6 Regression] Missed optimization after inlining va_list parameter

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 13 09:06:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66010

--- Comment #10 from vries at gcc dot gnu.org ---
Author: vries
Date: Wed May 13 09:06:18 2015
New Revision: 223120

URL: https://gcc.gnu.org/viewcvs?rev=223120&root=gcc&view=rev
Log:
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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/gimplify.h
    trunk/gcc/tree-stdarg.c



More information about the Gcc-bugs mailing list