1 /* Check that mov.b and mov.w displacement insns are generated.
2 If this is working properly, there should be no base address adjustments
3 outside the mov insns. */
4 /* { dg-do compile { target "sh*-*-*" } } */
5 /* { dg-options "-O1" } */
6 /* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } } */
7 /* { dg-final { scan-assembler-not "add|sub" } } */
32 int testfunc_01 (X* x)
34 return x->b | x->e | x->g;