PATCH: fix CALL_EXPR_ARGS badness in calls.c

Sandra Loosemore sandra@codesourcery.com
Sun Feb 18 19:37:00 GMT 2007


Ian Lance Taylor wrote:
> 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.

OK, committed after testing on both x86_64 and powerpc64.

-Sandra



More information about the Gcc-patches mailing list