OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
binop-notxor1.c
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" } } */