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
Merge from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
ldrd-strd-offset.c
blob
a128a0a0e4b299b3d2a256c3166fd2ee8a882542
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
typedef
struct
5
{
6
int
x
;
7
int
i
,
j
;
8
}
off_struct
;
9
10
int
foo
(
char
*
str
,
int
*
a
,
int
b
,
int
c
)
11
{
12
off_struct
*
p
= (
off_struct
*)(
str
+
3
);
13
b
=
p
->
i
;
14
c
=
p
->
j
;
15
*
a
=
b
+
c
;
16
return
0
;
17
}