1 /* Check that indirect sibcalls understand regparm. */
2 /* { dg-do run { target i?86-*-* } } */
3 /* { dg-options "-O2" } */
5 int (*f
)(int, int) __attribute__((regparm(2)));
6 int (*g
)(int, int, int) __attribute__((regparm(3)));
8 int __attribute__((noinline
))
14 int __attribute__((noinline
))
20 int __attribute__((regparm(2)))
26 int __attribute__((regparm(3)))
27 g1(int x
, int y
, int z
)
38 if (bar() != 1*9 + 2*3 + 3)