1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fstack-clash-protection -mtune=generic" } */
3 /* { dg-require-effective-target supports_stack_clash_protection } */
5 __attribute__ ((noreturn
)) void exit (int);
7 __attribute__ ((noreturn
)) void
10 asm volatile ("nop" ::: "edi");
14 /* { dg-final { scan-assembler-not "or\[ql\]" } } */
15 /* { dg-final { scan-assembler "pushl %esi" { target ia32 } } } */
16 /* { dg-final { scan-assembler "popl %esi" { target ia32 } } }*/
17 /* { dg-final { scan-assembler "pushq %rax" { target ! { ia32 } } } } */
18 /* { dg-final { scan-assembler "popq %rax" { target ! { ia32 } } } }*/