svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030909-1.c
blob2a13270d0c01c0ca2c3ec0269ab7c381d5c93b38
1 /* Verify that ands are combined. */
2 /* { dg-do compile { target arm*-*-* strongarm*-*-* xscale*-*-* } } */
3 /* { dg-options "-O" } */
4 /* { dg-final { scan-assembler-not "#255.*#255" } } */
5 int f(int a, int b) { return ((a & 0xff) + (b & 0xff)) & 0xff; }