https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61483
--- Comment #1 from Yufeng Zhang <yufeng at gcc dot gnu.org> --- Author: yufeng Date: Tue Jun 17 09:39:22 2014 New Revision: 211733 URL: https://gcc.gnu.org/viewcvs?rev=211733&root=gcc&view=rev Log: gcc/ PR target/61483 * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local variable 'size'; calculate 'size' right in the front; use 'size' to compute 'nregs' (when 'allocate_ncrn != 0') and pcum->aapcs_stack_words. gcc/testsuite/ PR target/61483 * gcc.target/aarch64/aapcs64/type-def.h (struct hfa_fx2_t): New type. * gcc.target/aarch64/aapcs64/va_arg-13.c: New test. * gcc.target/aarch64/aapcs64/va_arg-14.c: Ditto. * gcc.target/aarch64/aapcs64/va_arg-15.c: Ditto. Added: trunk/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-13.c trunk/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-14.c trunk/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-15.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h