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
2014-10-24 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
sh
/
hiconst.c
blob
778bb8a3d2eeb932a6943c9a20679308af0550fc
1
/* { dg-do compile { target "sh*-*-*" } } */
2
/* { dg-options "-O1" } */
3
4
char
a
;
5
int
b
;
6
7
int
8
foo
(
char
*
pt
,
int
*
pti
)
9
{
10
a
=
0
;
11
b
=
0
;
12
*
pt
=
0
;
13
*
pti
=
0
;
14
}
15
16
int
rab
(
char
*
pt
,
int
*
pti
)
17
{
18
pt
[
2
] =
0
;
19
pti
[
3
] =
0
;
20
}
21
22
/* { dg-final { scan-assembler-times "mov\t#0" 2 } } */
23