2014-10-24 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gcc.target / alpha / pr24178.c
blob0a31aa7366ad2a86563747bedcb1a4c7b50a88e4
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mcpu=ev4" } */
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;
13 /* { dg-final { scan-assembler "ldl.*,18\\(" } } */