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
/
alpha
/
pr24178.c
blob
0a31aa7366ad2a86563747bedcb1a4c7b50a88e4
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mcpu=ev4" } */
3
4
struct
S
{
5
long
l
;
6
unsigned char
c
;
7
};
8
unsigned long
f
(
unsigned char
*
p10
) {
9
struct
S
*
p
= (
struct
S
*) (
p10
+
10
);
10
return
p
->
c
;
11
}
12
13
/* { dg-final { scan-assembler "ldl.*,18\\(" } } */