RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr52115.c
blob789d08f4d98987020360560423637ae7cb191c31
1 struct S
3 float f;
4 long l;
5 };
7 extern int gi;
8 extern float gf;
10 long foo (long p)
12 struct S s;
13 float *pf;
15 s.l = p;
17 pf = &s.f;
19 pf++;
20 pf--;
22 gf = *pf + 3.3;
23 gi = *((short *)pf) + 2;
25 return s.l + 6;