gcc/testsuite/gcc.target/arm/stack-protector-8.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target arm_hard_vfp_ok } */ |
| 3 | /* { dg-require-effective-target arm_arch_v7a_ok } */ |
| 4 | /* { dg-error "needs a hardware TLS register" "missing error when using TLS stack protector without hardware TLS register" { target *-*-* } 0 } */ |
| 5 | /* { dg-options "-fstack-protector-all -Os -mstack-protector-guard=tls -mtp=soft" } */ |
| 6 | |
| 7 | int foo; |