[PATCH v2 2/3] RISC-V: setmem for RISCV with V extension
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 991202-3.c
blobaa9982fa87480fa3f2d58f9dc729029a7ed5564a
1 void abort (void);
2 void exit (int);
4 unsigned int f (unsigned int a)
6 return a * 65536 / 8;
9 unsigned int g (unsigned int a)
11 return a * 65536;
14 unsigned int h (unsigned int a)
16 return a / 8;
19 int main ()
21 if (f (65536) != h (g (65536)))
22 abort ();
23 exit (0);