Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr37544.c
blob99979cef7adcbdf88c09fd7dec203d5a7832f142
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
3 /* { dg-options "-O2 -msse2 -mtune=core2 -mfpmath=387" { target { i?86-*-* x86_64-*-* } } } */
4 /* { dg-require-effective-target sse2_runtime { target { i?86-*-* x86_64-*-* } } } */
6 extern void abort (void);
8 int main(void)
10 double arr[1000];
11 double a, b;
13 int i;
15 for (i = 0; i < 1000; i++)
16 arr[i] = 4294967296.0 + (double)i;
18 a = arr[0];
19 b = (unsigned int)((unsigned long long int)a % 4294967296ULL);
21 if (b >= 4294967296.0)
22 abort ();
24 return 0;