1 /* Check if we have the right offset for @bar function. */
2 /* { dg-options "-O1" } */
3
4 void bar (void);
5
6 void
foo(int x)7 foo (int x)
8 {
9 __builtin_unwind_init ();
10 __builtin_eh_return (x, bar);
11 }
12
13 /* { dg-final { scan-assembler "r24" } } */
14 /* { dg-final { scan-assembler "r22" } } */
15 /* { dg-final { scan-assembler "r20" } } */
16 /* { dg-final { scan-assembler "r18" } } */
17 /* { dg-final { scan-assembler "r16" } } */
18 /* { dg-final { scan-assembler "r14" } } */
19 /* { dg-final { scan-assembler "r13" } } */
20 /* { dg-final { scan-assembler "r0" } } */
21 /* { dg-final { scan-assembler "fp" } } */
22 /* { dg-final { scan-assembler "fp,64" } } */
23