gcc/testsuite/gcc.dg/torture/pr47725.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | struct _Unwind_Context |
| 4 | { |
| 5 | void *reg[17]; |
| 6 | void *ra; |
| 7 | }; |
| 8 | extern void bar (struct _Unwind_Context *); |
| 9 | void |
| 10 | __frame_state_for (void *pc_target) |
| 11 | { |
| 12 | struct _Unwind_Context context; |
| 13 | __builtin_memset (&context, 0, sizeof (struct _Unwind_Context)); |
| 14 | context.ra = pc_target; |
| 15 | bar (&context); |
| 16 | } |