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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
s390
/
oscbreak-1.c
blob
fdf356c1fd0d415b8231911981322feb9507fe78
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -mtune=z13 -dp" } */
3
4
void
5
foo
(
char
*
a
,
int
b
)
6
{
7
int
i
;
8
9
for
(
i
=
0
;
i
<
b
;
i
++)
10
a
[
i
] +=
1
;
11
}
12
13
void
14
bar
(
char
*
a
,
int
b
)
15
{
16
int
i
;
17
18
for
(
i
=
0
;
i
<
b
;
i
++)
19
{
20
if
(
a
[
i
] &
1
)
21
a
[
i
] =
1
;
22
}
23
}
24
25
/* { dg-final { scan-assembler "osc_break" } } */