repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
20050830-1.c
blob
edbf6b8e43a11d77d10970974973d8fb35ded25b
1
/* Make sure the doloop optimization is done for this loop. */
2
/* { dg-do compile { target powerpc-*-* } } */
3
/* { dg-options "-O2" } */
4
/* { dg-final { scan-assembler "bdn" } } */
5
extern
int
a
[];
6
int
foo
(
int
w
) {
7
int
n
=
w
;
8
while
(
n
>=
512
)
9
{
10
a
[
n
] =
42
;
11
n
-=
256
;
12
}
13
}