OSDN Git Service

2009-02-20 Mark Mitchell <mark@codesourcery.com>
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Feb 2009 15:19:38 +0000 (15:19 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Feb 2009 15:19:38 +0000 (15:19 +0000)
commitfb20d2ee2e14f53d4a6e90288392bac8afb31d1f
treee0abda07822fe87f536d61e16a682050bcc09cd1
parent86482d6bf55db0eea64cf549bf04c6763f4074a4
2009-02-20  Mark Mitchell  <mark@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* config/arm/arm.c (arm_builtin_va_list): New function.
(arm_expand_builtin_va_start): Likewise.
(arm_gimplify_va_arg_expr): Likewise.
(TARGET_BUILD_BUILTIN_VA_LIST): Define.
(TARGET_BUILD_BUILTIN_VA_START): Likewise.
(TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
(va_list_type): New variable.
(arm_mangle_type): Mangle va_list_type appropriately.

testsuite:
* gcc.target/arm/va_list.c: New test.
* g++.dg/abi/arm_va_list.C: Likewise.
* lib/target-supports.exp (check_effective_target_arm_eabi): New
function.
* g++.dg/cpp0x/temp-va-arg-bug.C, g++.dg/other/stdarg1.C,
g++.dg/warn/miss-format-1.C, g++.dg/warn/miss-format-3.C,
g++.dg/warn/miss-format-4.C, g++.dg/warn/miss-format-5.C,
g++.dg/warn/miss-format-6.C, g++.old-deja/g++.other/vaarg2.C,
g++.old-deja/g++.other/vaarg3.C, g++.old-deja/g++.other/vaarg4.C,
g++.old-deja/g++.pt/builtin.C: Use -Wno-abi on ARM EABI targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144323 138bc75d-0d04-0410-961f-82ee72b054a4
17 files changed:
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/arm_va_list.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/temp-va-arg-bug.C
gcc/testsuite/g++.dg/other/stdarg1.C
gcc/testsuite/g++.dg/warn/miss-format-1.C
gcc/testsuite/g++.dg/warn/miss-format-3.C
gcc/testsuite/g++.dg/warn/miss-format-4.C
gcc/testsuite/g++.dg/warn/miss-format-5.C
gcc/testsuite/g++.dg/warn/miss-format-6.C
gcc/testsuite/g++.old-deja/g++.other/vaarg2.C
gcc/testsuite/g++.old-deja/g++.other/vaarg3.C
gcc/testsuite/g++.old-deja/g++.other/vaarg4.C
gcc/testsuite/g++.old-deja/g++.pt/builtin.C
gcc/testsuite/gcc.target/arm/va_list.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp