2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20040309-1.c
blob736150731c7173eeacaa57edeef6c7132184aa2d
1 /* Test integer mod on ia64. There was a bug in the inline integer
2 division code. */
4 /* { dg-do run } */
5 /* { dg-options "-minline-int-divide-max-throughput" { target ia64-*-* } } */
7 extern void abort (void);
9 volatile int i = 10;
10 volatile int j = 10;
12 int main()
14 int k = i % j;
15 if (k != 0) abort();
16 return 0;