summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/20030909-1.c
blob: 4ed3640b51825f9cf934002869ed01ed558a6739 (plain)
1
2
3
4
5
/* Verify that ands are combined.  */
/* { dg-do compile } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler-not "#255.*#255" } } */
int f(int a, int b) { return ((a & 0xff) + (b & 0xff)) & 0xff; }