This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: fix CALL_EXPR_ARGS badness in calls.c
- From: Ian Lance Taylor <iant at google dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: 16 Feb 2007 17:25:45 -0800
- Subject: Re: PATCH: fix CALL_EXPR_ARGS badness in calls.c
- References: <45D64E79.8040909@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com> writes:
> 2007-02-16 Sandra Loosemore <sandra@codesourcery.com>
>
> * gcc/calls.c (initialize_argument_information): Pass original EXP
> and STRUCT_VALUE_ADDR_VALUE instead of a list of arguments. Move
> code to split complex arguments here, as part of initializing the
> ARGS array.
> (expand_call): Remove code that builds a list of arguments and
> inserts implicit arguments into it. Instead, just count how many
> implicit arguments there will be so we can determine the size of
> the ARGS array, and let initialize_argument_information do the work.
> (split_complex_values): Delete unused function.
This is OK if it has been bootstrapped and tested on a primary
platform.
Thanks.
Ian