testsuite: Add extra aarch64 predefine tests
authorFei Yang <felix.yang@huawei.com>
Thu, 23 Apr 2020 15:08:03 +0000 (16:08 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 23 Apr 2020 15:08:03 +0000 (16:08 +0100)
commit857d1fa3f0a04569382bab12829e5bfd3725ecbf
tree4ab2399a8b1d6ad9e06cd36d2449e0e19455e725
parentee9fcee3ec3a124dc3947c73c264bbcda97198df
testsuite: Add extra aarch64 predefine tests

Add extra testing in the following two tests to make sure CPP predefines
redefinitions on #pragma works as expected when -mgeneral-regs-only
option is specified (See PR94678):
gcc.target/aarch64/pragma_cpp_predefs_2.c
gcc.target/aarch64/pragma_cpp_predefs_3.c

2020-04-23  Felix Yang  <felix.yang@huawei.com>

gcc/testsuite/
PR target/94678
* gcc.target/aarch64/pragma_cpp_predefs_2.c: Fix typos, pop_pragma ->
pop_options. Add tests for general-regs-only.
* gcc.target/aarch64/pragma_cpp_predefs_3.c: Add tests for
general-regs-only.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c
gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_3.c