Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr68217.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fdisable-tree-evrp -fdump-tree-vrp1" } */ | |
3 | |
4 int foo (void) | |
5 { | |
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; | |
11 } | |
12 | |
13 /* { dg-final { scan-tree-dump "\\\[-INF, 0\\\]" "vrp1" } } */ |