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