* gcc.dg/20030909-1.c: New test.
From-SVN: r71293
This commit is contained in:
parent
50b29dbb90
commit
93dc9a320d
@ -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.
|
||||
|
5
gcc/testsuite/gcc.dg/20030909-1.c
Normal file
5
gcc/testsuite/gcc.dg/20030909-1.c
Normal 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; }
|
Loading…
Reference in New Issue
Block a user