blob: f172b2223fd64c7255390fa59bb92e81ad8360a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-options "-mgp64" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-final { scan-assembler "\tlw\t" } } */
/* { dg-final { scan-assembler-not "\tsll\t" } } */
/* { dg-final { scan-assembler-not "\tld\t" } } */
struct s
{
long long a;
int b;
};
int
foo (struct s *x)
{
return x->a;
}
|