1 /* { dg-do compile } */
2 /* { dg-options "-O -fcf-protection" } */
3 /* { dg-final { scan-assembler-times "endbr32" 3 { target ia32 } } } */
4 /* { dg-final { scan-assembler-times "endbr64" 3 { target { ! ia32 } } } } */
5 /* { dg-final { scan-assembler-times "rdssp\[dq]" 2 } } */
6 /* { dg-final { scan-assembler-times "incssp\[dq]" 2 } } */
8 /* Based on gcc.dg/setjmp-3.c. */
12 extern void abort (void);
17 __builtin_longjmp (buf
, 1);
20 __attribute__ ((noinline
, noclone
))
26 if (__builtin_setjmp (buf
) == 0)