1 /* { dg-do compile } */ 2 /* { dg-options "-O -mmovbe" } */ 3 4 struct __attribute__((scalar_storage_order("big-endian"))) S 5 { 6 int i; 7 }; 8 get(struct S * s)9int get (struct S *s) 10 { 11 return s->i; 12 } 13 set(struct S * s,int i)14void set (struct S *s, int i) 15 { 16 s->i = i; 17 } 18 19 /* { dg-final { scan-assembler-times "movbel\[ \t\]" 2 } } */ 20