[AArch64] Enable tree-stdarg pass for AArch64 by defining counter fields
authorJiong Wang <jiong.wang@arm.com>
Fri, 27 May 2016 12:57:06 +0000 (12:57 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Fri, 27 May 2016 12:57:06 +0000 (12:57 +0000)
commit3fd6b9cc8bb19571726203e309e0b2472e6b8e43
tree99f80a82dc429582d1aec158fa6de1eb9f53a870
parentf6e0013a3c08b4a6a8d4dade8f842a2e4ae3f495
[AArch64] Enable tree-stdarg pass for AArch64 by defining counter fields

gcc/
* config/aarch64/aarch64.c (aarch64_build_builtin_va_list): Initialize
va_list_gpr_counter_field and va_list_fpr_counter_field.

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

From-SVN: r236818
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/stdarg-2.c
gcc/testsuite/gcc.dg/tree-ssa/stdarg-3.c
gcc/testsuite/gcc.dg/tree-ssa/stdarg-4.c
gcc/testsuite/gcc.dg/tree-ssa/stdarg-5.c
gcc/testsuite/gcc.dg/tree-ssa/stdarg-6.c