projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add -fdelete-null-pointer-checks to more new C++ testcases.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr85746.C
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-gimple" } */
3
4
int f(int a,int b){
5
// The front-end should not fold this to 0.
6
int c = __builtin_constant_p(a < b);
7
return c;
8
}
9
10
/* { dg-final { scan-tree-dump "__builtin_constant_p" "gimple" } } */