1 /* { dg-do run { target *-*-linux* *-*-gnu* } } */
2 /* { dg-options "-O0" } */
8 /* Verify that naked function traps at the end. */
11 __attribute__((naked
, noinline
, noclone
))
13 __attribute__((regparm(1)))
17 if (data
== 0x12345678)
31 sigemptyset (&s
.sa_mask
);
32 s
.sa_handler
= handler
;
34 sigaction (SIGILL
, &s
, NULL
);