RTEMS: Add Cortex-M33 multilib
[gcc.git] / gcc / testsuite / g++.dg / pr58245-1.C
blob71d4736ddf610e3dd0e8d73d0ec81c6cc3949b59
1 /* { dg-do compile { target i?86-*-* x86_64-*-* rs6000-*-* s390x-*-* } } */
2 /* { dg-options "-O2 -fstack-protector-all" } */
4 void
5 bar (void)
7   throw 1;
10 /* { dg-final { scan-assembler-times "stack_chk_fail" 1 } } */
12 /* When compiling for PI[EC], we issue a .hidden stack_chk_fail_local,
13    that causes the above to fail the expected match count.  */
14 /* { dg-additional-options "-fno-PIC" } */