This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is a minor cleanup of the way we handle structure returns on ARM and ensures that we generate consistent code in all cases. The compiler defaults to passing an invisible first parameter of where to return the result if 'return-in-memory' so there is no need for the ARM back-end to try and work this out itself. Tested with an arm-eabi cross compiler and a native bootstrap on arm-netbsd (thus covering both old and new ABIs). 2006-05-10 Richard Earnshaw <rearnsha@arm.com> * arm.c (arm_struct_value_rtx): Delete. (TARGET_STRUCT_VALUE_RTX): Use the default definition. (arm_init_cumulative_args): Always initialize nregs to zero.
Attachment:
all.diffs
Description: all.diffs
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |