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
2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
binop-notand3a.c
blob
40e8038a78dd8320ed87c460fbd29e3b62be0605
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
int
5
foo
(
short
a
)
6
{
7
return
(!
a
&
1
) != ((
a
==
0
) &
1
);
8
}
9
10
/* { dg-final { scan-tree-dump-times "return 0" 1 "optimized" } } */
11
/* { dg-final { cleanup-tree-dump "optimized" } } */