builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr68217.c
blobc5b0d1ff199dc1bb0962e4c28655281d5044dbd6
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdisable-tree-evrp -fdump-tree-vrp1" } */
4 int foo (void)
6 volatile int a = -1;
7 long long b = (1LL << (sizeof (b) * 8 - 1)); // LLONG_MIN
8 long long x = (a & b); // x == 0x8000000000000000
9 if (x < 1LL) { ; } else { __builtin_abort(); }
10 return 0;
13 /* { dg-final { scan-tree-dump "\\\[-INF, 0\\\]" "vrp1" } } */