aarch64: testsuite: disable stack protector for tests relying on stack offset
Stack protector needs a guard value on the stack and change the stack layout. So we need to disable it for those tests, to avoid test failure with --enable-default-ssp. gcc/testsuite/ChangeLog: * gcc.target/aarch64/shrink_wrap_1.c (dg-options): Add -fno-stack-protector. * gcc.target/aarch64/stack-check-cfa-1.c (dg-options): Add -fno-stack-protector. * gcc.target/aarch64/stack-check-cfa-2.c (dg-options): Add -fno-stack-protector. * gcc.target/aarch64/test_frame_17.c (dg-options): Add -fno-stack-protector.
Showing
- gcc/testsuite/gcc.target/aarch64/shrink_wrap_1.c 1 addition, 1 deletiongcc/testsuite/gcc.target/aarch64/shrink_wrap_1.c
- gcc/testsuite/gcc.target/aarch64/stack-check-cfa-1.c 1 addition, 1 deletiongcc/testsuite/gcc.target/aarch64/stack-check-cfa-1.c
- gcc/testsuite/gcc.target/aarch64/stack-check-cfa-2.c 1 addition, 1 deletiongcc/testsuite/gcc.target/aarch64/stack-check-cfa-2.c
- gcc/testsuite/gcc.target/aarch64/test_frame_17.c 1 addition, 1 deletiongcc/testsuite/gcc.target/aarch64/test_frame_17.c
Loading
Please register or sign in to comment