* gcc.dg/20030909-1.c: New test.

From-SVN: r71293
This commit is contained in:
Ian Lance Taylor 2003-09-11 04:45:11 +00:00 committed by Ian Lance Taylor
parent 50b29dbb90
commit 93dc9a320d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-09-10 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/20030909-1.c: New test.
2003-09-10 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp10.c: New test.

View File

@ -0,0 +1,5 @@
/* 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; }