1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* { dg-do compile } */ /* { dg-options "-O isa_rev>=2 -mgp64" } */ /* { dg-final { scan-assembler "\tdext\t" } } */ /* { dg-final { scan-assembler-not "and" } } */ struct { unsigned long long a:9; unsigned long long d:35; unsigned long long e:10; unsigned long long f:10; } t; NOMIPS16 unsigned long long f (void) { return t.d; }