blob: 25f6795c6d61b82ea959c07bf23a3b712b0e76d8 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-gimple" } */
int f(int a,int b){
// The front-end should not fold this to 0.
int c = __builtin_constant_p(a < b);
return c;
}
/* { dg-final { scan-tree-dump "__builtin_constant_p" "gimple" } } */