1 // { dg-do run { target { *-*-aix5* i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } } }
2 // { dg-options "-fexceptions -fnon-call-exceptions" }
7 void sighandler (int signo, siginfo_t * si, void * uc)
14 * ((volatile int *)0) = 12;
23 sa.sa_sigaction = sighandler;
24 sa.sa_flags = SA_SIGINFO;
26 status = sigaction (SIGSEGV, & sa, NULL);
27 status = sigaction (SIGBUS, & sa, NULL);