1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-O2" } */
3
4 typedef long (*fptr_t) (void);
5 long
func(fptr_t * p)6 func (fptr_t *p)
7 {
8 if (p)
9 return (*p) ();
10 return 0;
11 }
12 /* { dg-final { scan-assembler-not {mr %?r?12,} } } */
13