1 /* Check that indirect sibcalls understand regparm. */
3 /* { dg-require-effective-target ia32 } */
4 /* { dg-options "-O2" } */
6 extern void abort (void);
8 int (*f
)(int, int) __attribute__((regparm(2)));
9 int (*g
)(int, int, int) __attribute__((regparm(3)));
11 int __attribute__((noinline
))
17 int __attribute__((noinline
))
23 int __attribute__((regparm(2)))
29 int __attribute__((regparm(3)))
30 g1(int x
, int y
, int z
)
41 if (bar() != 1*9 + 2*3 + 3)