repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c/64440
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
binop-notor1.c
blob
a2cb6a3277f114c526bf1f064e4d43573e8ff6c7
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
int
5
foo
(
_Bool a
,
_Bool b
)
6
{
7
return
(
a
| !
a
) | (!
b
|
b
);
8
}
9
10
/* { dg-final { scan-tree-dump-times "return 1" 1 "optimized" } } */
11
/* { dg-final { cleanup-tree-dump "optimized" } } */