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/64856
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
binop-notand5.c
blob
463f19b04da33f1a81d539f987ce2adbcc74be3d
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
int
5
foo
(
int
a
,
int
b
)
6
{
7
return
(
a
& (
a
==
0
)) | (
b
& !
b
);
8
}
9
10
/* { dg-final { scan-tree-dump-times "return 0" 1 "optimized" } } */
11
/* { dg-final { cleanup-tree-dump "optimized" } } */