1 /* This test case used to abort due to a reload bug with
2 elimination offsets. */
4 /* { dg-do run { target s390*-*-* } } */
5 /* { dg-options "-O2 -mpacked-stack" } */
7 extern void abort (void);
9 double bar (double) __attribute__ ((noinline
));
10 double bar (double x
) { return x
; }
13 foo (int j
, double f0
, double f2
, double f4
, double f6
, double x
) __attribute__ ((noinline
));
16 foo (int j
, double f0
, double f2
, double f4
, double f6
, double x
)
27 if (foo (0, 0, 0, 0, 0, 10) != 10)
29 if (foo (1, 0, 0, 0, 0, 10) != 14)