| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-require-effective-target fpic } */ |
| 3 |
/* { dg-options "-fstack-protector-all -O2 -fpic" } */ |
| 4 |
|
| 5 |
#include "stack-protector-5.c" |
| 6 |
|
| 7 |
/* See the comment in stack-protector-5.c. */ |
| 8 |
/* { dg-final { scan-assembler-times {\tldr\t[^\n]*__stack_chk_guard} 2 } } */ |