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.c-torture
/
compile
/
pr12517.c
1
/* PR tree-optimization/12517 */
2
3
int f(void);
4
void g(int);
5
void h(int a, int b, int c)
6
{
7
int i = f();
8
9
if (b && (i & 4))
10
g(i & 8 ? 0 : 1);
11
if (a) {
12
do {
13
if (i & 8)
14
g(0);
15
if (i & 4)
16
g(i ? 0 : 1);
17
} while (--c);
18
}
19
}