gcc/
Backport from trunk r236818.
2016-05-27 Jiong Wang <jiong.wang@arm.com>
* config/aarch64/aarch64.c (aarch64_build_builtin_va_list): Initialize
va_list_gpr_counter_field and va_list_fpr_counter_field.
gcc/testsuite/
Backport from trunk r236818.
2016-05-27 Jiong Wang <jiong.wang@arm.com>
* gcc.dg/tree-ssa/stdarg-2.c: Enable all testcases for AArch64.
* gcc.dg/tree-ssa/stdarg-3.c: Likewise.
* gcc.dg/tree-ssa/stdarg-4.c: Likewise.
* gcc.dg/tree-ssa/stdarg-5.c: Likewise.
* gcc.dg/tree-ssa/stdarg-6.c: Likewise.
gcc/
Backport from trunk r236819.
2016-05-27 Jiong Wang <jiong.wang@arm.com>
PR target/63596
* config/aarch64/aarch64.c (aarch64_expand_builtin_va_start): Honor
tree-stdarg analysis results.
(aarch64_setup_incoming_varargs): Likewise.
gcc/testsuite/
Backport from trunk r236819.
2016-05-27 Jiong Wang <jiong.wang@arm.com>
PR target/63596
* gcc.target/aarch64/va_arg_1.c: New testcase.
* gcc.target/aarch64/va_arg_2.c: Likewise.
* gcc.target/aarch64/va_arg_3.c: Likewise.
Change-Id: If954f4040fca6c7e61aea4879b3ff9774cbc5db1