arm: Add a couple of extra stack-protector tests
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 24 Sep 2020 09:06:11 +0000 (10:06 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 24 Sep 2020 09:06:11 +0000 (10:06 +0100)
commit59c8329389751ec39985a89a673768b4d4fdb338
tree331b704f8b3c2a5679398aeaed017d865ccf037b
parente94797250b403d66cb3624a594e41faf0dd76617
arm: Add a couple of extra stack-protector tests

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

gcc/testsuite/
* gcc.target/arm/stack-protector-5.c: New test.
* gcc.target/arm/stack-protector-6.c: Likewise.
gcc/testsuite/gcc.target/arm/stack-protector-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/stack-protector-6.c [new file with mode: 0644]