diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2014-06-24 16:33:45 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng@gcc.gnu.org> | 2014-06-24 16:33:45 +0000 |
commit | 84e0f57e35738500e44fd21753e31295d4700bfb (patch) | |
tree | c5373ab1c3e2da02d9311e1b630a245d97e29186 /gcc/passes.def | |
parent | 3fa591d4b43316e7b7f8d46781793d96893d3374 (diff) | |
download | gcc-84e0f57e35738500e44fd21753e31295d4700bfb.zip gcc-84e0f57e35738500e44fd21753e31295d4700bfb.tar.gz gcc-84e0f57e35738500e44fd21753e31295d4700bfb.tar.bz2 |
Make the AAPCS64 function return tests more robust.
gcc/testsuite
* gcc.target/aarch64/aapcs64/abitest-2.h (saved_return_address): New
global variable.
(FUNC_VAL_CHECK): Update to call myfunc via the 'ret' instruction,
instead of calling sequentially in the C code.
* gcc.target/aarch64/aapcs64/abitest.S (LABEL_TEST_FUNC_RETURN): Store
saved_return_address to the stack frame where LR register was stored.
(saved_return_address): Declare weak.
From-SVN: r211954
Diffstat (limited to 'gcc/passes.def')
0 files changed, 0 insertions, 0 deletions