OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20020321-1.c
1 /* PR 3177 */
2 /* Produced a SIGILL on ia64 with sibcall from F to G.  We hadn't
3    widened the register window to allow for the fourth outgoing
4    argument as an "in" register.  */
5
6 float g (void *a, void *b, int e, int c, float d)
7 {
8   return d;
9 }
10
11 float f (void *a, void *b, int c, float d)
12 {
13   return g (a, b, 0, c, d);
14 }
15
16 int main ()
17 {
18   f (0, 0, 1, 1);
19   return 0;
20 }