1 /* PR rtl-optimization/53942 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-additional-options "-mtune=pentium2" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
14 __attribute__ ((noinline
))
16 foo (struct S
*x
, unsigned char y
)
19 unsigned char v
= x
->w
[0];
21 v
= ((x
->w
[1]) & (1 << y
)) ? 1 : 0;
23 v
= ((x
->w
[2]) & 0xff) & (1 << y
);