1 // { dg-do run { target { i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } } }
2 // { dg-require-effective-target cet }
3 // { dg-additional-options "-fexceptions -fnon-call-exceptions -fcf-protection" }
8 void sighandler (int signo, siginfo_t * si, void * uc)
15 * ((volatile int *)0) = 12;
24 sa.sa_sigaction = sighandler;
25 sa.sa_flags = SA_SIGINFO;
27 status = sigaction (SIGSEGV, & sa, NULL);
28 status = sigaction (SIGBUS, & sa, NULL);