r274695 - in /trunk/gcc: ChangeLog calls.c call...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue Aug 20 08:50:00 GMT 2019


Author: rsandifo
Date: Tue Aug 20 08:50:59 2019
New Revision: 274695

URL: https://gcc.gnu.org/viewcvs?rev=274695&root=gcc&view=rev
Log:
Add pass_va_arg_by_reference

This patch splits out a common idiom from the va_arg gimplification
routines, so that there's only one place to update later.

2019-08-20  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* calls.h (pass_va_arg_by_reference): Declare.
	* calls.c (pass_va_arg_by_reference): New function.
	* config/aarch64/aarch64.c (aarch64_gimplify_va_arg_expr): Use it.
	* config/alpha/alpha.c (alpha_gimplify_va_arg): Likewise.
	* config/gcn/gcn.c (gcn_gimplify_va_arg_expr): Likewise.
	* config/i386/i386.c (ix86_gimplify_va_arg): Likewise.
	* config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise.
	* config/mips/mips.c (mips_std_gimplify_va_arg_expr): Likewise.
	(mips_gimplify_va_arg_expr): Likewise.
	* config/msp430/msp430.c (msp430_gimplify_va_arg_expr): Likewise.
	* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
	* config/rs6000/rs6000-call.c (rs6000_gimplify_va_arg): Likewise.
	* config/s390/s390.c (s390_gimplify_va_arg): Likewise.
	* config/sparc/sparc.c (sparc_gimplify_va_arg): Likewise.
	* config/spu/spu.c (spu_gimplify_va_arg_expr): Likewise.
	* config/tilegx/tilegx.c (tilegx_gimplify_va_arg_expr): Likewise.
	* config/tilepro/tilepro.c (tilepro_gimplify_va_arg_expr): Likewise.
	* config/visium/visium.c (visium_gimplify_va_arg): Likewise.
	* config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise.
	* targhooks.c (std_gimplify_va_arg_expr): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/calls.c
    trunk/gcc/calls.h
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/config/alpha/alpha.c
    trunk/gcc/config/gcn/gcn.c
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/ia64/ia64.c
    trunk/gcc/config/mips/mips.c
    trunk/gcc/config/msp430/msp430.c
    trunk/gcc/config/pa/pa.c
    trunk/gcc/config/rs6000/rs6000-call.c
    trunk/gcc/config/s390/s390.c
    trunk/gcc/config/sparc/sparc.c
    trunk/gcc/config/spu/spu.c
    trunk/gcc/config/tilegx/tilegx.c
    trunk/gcc/config/tilepro/tilepro.c
    trunk/gcc/config/visium/visium.c
    trunk/gcc/config/xtensa/xtensa.c
    trunk/gcc/targhooks.c



More information about the Gcc-cvs mailing list