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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr36978.c
blob
cd1af4ebc081efec26927d18cab4fb56c73d93b9
1
/* { dg-do compile } */
2
/* { dg-options "-funswitch-loops" } */
3
4
unsigned short
status
;
5
void
foo
(
const
_Bool flag
)
6
{
7
if
(
status
==
2
||
status
==
7
)
8
{
9
while
(
status
!=
2
&& (
status
!=
7
|| !
flag
))
10
{
11
}
12
}
13
}
14