blob: 2a13270d0c01c0ca2c3ec0269ab7c381d5c93b38 [file] [log] [blame]
/* Verify that ands are combined. */
/* { dg-do compile { target arm*-*-* strongarm*-*-* xscale*-*-* } } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler-not "#255.*#255" } } */
int f(int a, int b) { return ((a & 0xff) + (b & 0xff)) & 0xff; }