Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
sh
/
hiconst.c
blob: d8911a52d78cf1a5005c42f89a6e45d59d1d2d14 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O1" } */
char
a
;
int
b
;
int
foo
(
char
*
pt
,
int
*
pti
)
{
a
=
0
;
b
=
0
;
*
pt
=
0
;
*
pti
=
0
;
}
int
rab
(
char
*
pt
,
int
*
pti
)
{
pt
[
2
]
=
0
;
pti
[
3
]
=
0
;
}
/* { dg-final { scan-assembler-times "mov\t#0" 2 } } */