Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr90095-1.c
blob03968ba74191f6f3f8c6221937f16a1be59ec97c
1 /* PR middle-end/90095 */
2 /* { dg-do run } */
3 /* { dg-options "-Os -fno-tree-bit-ccp" } */
5 unsigned long long a;
6 unsigned int b;
8 int
9 main ()
11 unsigned int c = 255, d = c |= b;
12 if (__CHAR_BIT__ != 8 || __SIZEOF_INT__ != 4 || __SIZEOF_LONG_LONG__ != 8)
13 return 0;
14 d = __builtin_mul_overflow (-(unsigned long long) d, (unsigned char) - c, &a);
15 if (d != 0)
16 __builtin_abort ();
17 return 0;