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
PR middle-end/27945
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
mt-loopi1.c
blob
5cce035e2f898dbc27ee966700118f0be9c3eab5
1
/* { dg-do compile { target mt-*-* } } */
2
/* { dg-options "-O2 -march=ms2" } */
3
/* { dg-final { scan-assembler "\tloopi " } } */
4
5
/* Make sure we generate loopi */
6
7
void
Const
(
volatile
int
*
ptr
)
8
{
9
int
i
;
10
11
for
(
i
=
0
;
i
!=
10
;
i
++)
12
*
ptr
;
13
}