SH: Fix outage caused by recently added 2nd combine pass after reg alloc
[official-gcc.git] / gcc / testsuite / gcc.target / mips / octeon-exts-7.c
blobfcae0126150526ef2d664e4c98bc6c582a6f50e8
1 /* Remove the redundant sign-extension after the sign-extraction. */
2 /* { dg-do compile } */
3 /* { dg-options "-march=octeon -mgp64" } */
4 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
5 /* { dg-final { scan-assembler-times "\texts\t" 1 } } */
6 /* { dg-final { scan-assembler-not "\td?(sll|sra)" } } */
8 struct bar
10 long long a:18;
11 long long b:24;
12 long long c:22;
15 NOMIPS16 int
16 f1 (struct bar *s)
18 return s->b;