[AArch64] PR target/63596, honor tree-stdarg analysis result to improve VAARG codegen
authorJiong Wang <jiong.wang@arm.com>
Fri, 27 May 2016 13:05:34 +0000 (13:05 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Fri, 27 May 2016 13:05:34 +0000 (13:05 +0000)
commit88e3bdd195b7cc070eb7525c75b748fb55920b2e
tree05ef7d57add6ed3f7dcbb24ba66f62bf55c4720b
parent3fd6b9cc8bb19571726203e309e0b2472e6b8e43
[AArch64] PR target/63596, honor tree-stdarg analysis result to improve VAARG codegen

gcc/
PR target/63596
* config/aarch64/aarch64.c (aarch64_expand_builtin_va_start): Honor
tree-stdarg analysis results.
(aarch64_setup_incoming_varargs): Likewise.

gcc/testsuite/
* 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.

From-SVN: r236819
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/va_arg_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/va_arg_2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/va_arg_3.c [new file with mode: 0644]