Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / evrp13.c
blobcfa4e8256c07d8445561aff3367289bfcd31d369
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-evrp" } */
4 #define ADD_NW(A,B) (__extension__({ __typeof(A+B) R; if(__builtin_add_overflow(A,B,&R)) __builtin_unreachable(); R ;}))
5 _Bool a_b2(unsigned A, unsigned B) { return ADD_NW(A,B) >= B; }
7 /* { dg-final { scan-tree-dump "return 1;" "evrp" } } */