gcc/testsuite/gcc.target/i386/eh_return-2.c
raw| 1 | /* PR target/101772 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-additional-options "-O0 -mincoming-stack-boundary=4 -march=x86-64 -mstackrealign" } */ |
| 4 | |
| 5 | struct _Unwind_Context _Unwind_Resume_or_Rethrow_this_context; |
| 6 | |
| 7 | void offset (int); |
| 8 | |
| 9 | struct _Unwind_Context { |
| 10 | void *reg[7]; |
| 11 | } _Unwind_Resume_or_Rethrow() { |
| 12 | struct _Unwind_Context cur_contextcur_context = |
| 13 | _Unwind_Resume_or_Rethrow_this_context; |
| 14 | offset(0); |
| 15 | __builtin_eh_return ((long) offset, 0); |
| 16 | } |