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
2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
binop-notand3.c
blob
5f8e32ff8faed4e641f4b3dc546702f036fa7f19
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
int
5
foo
(
int
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" } } */