1 /* Check that indirect sibcalls understand regparm. */
2 /* { dg-do run { target i?86-*-* } } */
3 /* { dg-options "-O2" } */
5 extern void abort (void);
7 int (*f
)(int, int) __attribute__((regparm(2)));
8 int (*g
)(int, int, int) __attribute__((regparm(3)));
10 int __attribute__((noinline
))
16 int __attribute__((noinline
))
22 int __attribute__((regparm(2)))
28 int __attribute__((regparm(3)))
29 g1(int x
, int y
, int z
)
40 if (bar() != 1*9 + 2*3 + 3)