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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arc
/
loop-hazard-1.c
blob
7c688bbc236a57aa049ed544de52f7eb81c4f674
1
/* { dg-do compile } */
2
/* { dg-options "-Os" } */
3
4
/* This caused an assertion within arc_loop_hazard. */
5
6
unsigned
a
,
b
;
7
8
long
fn1
()
9
{
10
long
c
=
1
,
d
=
0
;
11
while
(
a
&&
c
&&
b
)
12
c
<<=
1
;
13
while
(
c
)
14
d
|=
c
;
15
return
d
;
16
}