[PATCH] RISC-V: Fix unrecognizable pattern in riscv_expand_conditional_move()
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 991019-1.c
blob89d3493db02c1e231e03714883db8822c4715f93
1 void abort (void);
2 void exit (int);
4 typedef struct {
5 double epsilon;
6 } material_type;
8 material_type foo(double x)
10 material_type m;
12 m.epsilon = 1.0 + x;
13 return m;
16 int
17 main(void)
19 int i;
20 material_type x;
22 /* We must iterate enough times to overflow the FP stack on the
23 x86. */
24 for (i = 0; i < 10; i++)
26 x = foo (1.0);
27 if (x.epsilon != 1.0 + 1.0)
28 abort ();
31 exit (0);