aarch64: Add a couple of extra stack-protector tests
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 23 Sep 2020 18:21:56 +0000 (19:21 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 23 Sep 2020 18:21:56 +0000 (19:21 +0100)
commit0f0b00033a71ff728d6fab6f9d674fb6b3ba4980
tree2b191f4474bd308e0a82c494b54e363e60440071
parentf65ebb5210e2fded0f7b339219685f4480124f0c
aarch64: Add a couple of extra stack-protector tests

These tests were inspired by corresponding arm ones.  They already pass.

gcc/testsuite/
* gcc.target/aarch64/stack-protector-3.c: New test.
* gcc.target/aarch64/stack-protector-4.c: Likewise.
gcc/testsuite/gcc.target/aarch64/stack-protector-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/stack-protector-4.c [new file with mode: 0644]