1 /* { dg-do run { target powerpc*-*-* } } */
2 /* { dg-options "-O2" } */
5 register int *testreg
asm ("r29");
9 int *ext_func (int *p
) { return p
; }
11 void test_reg_save_restore (int*) __attribute__((noinline
));
13 test_reg_save_restore (int *p
)
15 setlocale (LC_ALL
, "C");
16 testreg
= ext_func(p
);
21 test_reg_save_restore (&y
);