* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 991019-1.c
blob39726cd0ba4cff23a43ecf3061f1ca9e26e4d2e1
1 typedef struct {
2 double epsilon;
3 } material_type;
5 material_type foo(double x)
7 material_type m;
9 m.epsilon = 1.0 + x;
10 return m;
13 main()
15 int i;
16 material_type x;
18 /* We must iterate enough times to overflow the FP stack on the
19 x86. */
20 for (i = 0; i < 10; i++)
22 x = foo (1.0);
23 if (x.epsilon != 1.0 + 1.0)
24 abort ();
27 exit (0);