diff options
author | Daniel Santos <daniel.santos@pobox.com> | 2017-07-24 22:00:35 +0000 |
---|---|---|
committer | Daniel Santos <dansan@gcc.gnu.org> | 2017-07-24 22:00:35 +0000 |
commit | 52d0f7bda7d633acb2bd8e7585c32d1ccc6eaf02 (patch) | |
tree | 668140755bda0f94dd16a3d6cb7fb615bfbc0492 /gcc/fold-const.c | |
parent | 9cbc07ccffa3403f4f18baf615bb1fe955b3a20e (diff) | |
download | gcc-52d0f7bda7d633acb2bd8e7585c32d1ccc6eaf02.zip gcc-52d0f7bda7d633acb2bd8e7585c32d1ccc6eaf02.tar.gz gcc-52d0f7bda7d633acb2bd8e7585c32d1ccc6eaf02.tar.bz2 |
PR testsuite/80759 Fix broken tests in ms-sysv.exp
2017-07-24 Daniel Santos <daniel.santos@pobox.com>
PR testsuite/80759
* gcc.target/x86_64/abi/ms-sysv/do-test.S
(ELFFN_BEGIN): Rename to FN_TYPE.
(ELFFN_END): Rename to FN_SIZE.
(ASMNAME): New macro.
(FUNC): Rename to FUNC_BEGIN, use ASMNAME and use .globl instead of
.global.
(FUNC_END): Use ASMNAME.
(test_data_save): Remove.
(test_data_input): Likewise.
(test_data_output: Likewise.
(test_data_fn): Likewise.
(test_data_retaddr): Likewise.
(regs_to_mem): Make globals, use r10 instead of rax.
(mem_to_regs): Likewise.
(do_test_unaligned): Remove .cfi directives, remove pushf/popf, move
body to ms-sysv.c.
(do_test_aligned): Likewise.
* gcc.target/x86_64/abi/ms-sysv/ms-sysv.c:
Add dg-* directives.
(PASTE_STR): New macro.
(ASMNAME): Likewise.
(LOAD_TEST_DATA_ADDR): Likewise.
(TEST_DATA_OFFSET): Likewise.
(do_test_body0): New C function.
(do_test_body): New inline assembly routine.
* gcc.target/x86_64/abi/ms-sysv/ms-sysv.exp
(runtest_ms_sysv): Modify.
From-SVN: r250489
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions