From: Eric Botcazou Date: Sat, 23 Nov 2002 08:38:27 +0000 (+0000) Subject: * gcc.c-torture/compile/20021123-4.c: New test. X-Git-Tag: releases/gcc-3.2.2~256 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad5a798d59825300b52fbced56654c8c4e76ac63;p=thirdparty%2Fgcc.git * gcc.c-torture/compile/20021123-4.c: New test. From-SVN: r59415 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 76361d26594c..6eb867eb1496 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-11-23  Eric Botcazou   + + * gcc.c-torture/compile/20021123-4.c: New test. + 2002-11-23  Eric Botcazou   * gcc.c-torture/compile/20021123-2.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/20021123-4.c b/gcc/testsuite/gcc.c-torture/compile/20021123-4.c new file mode 100644 index 000000000000..d4306b89b999 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20021123-4.c @@ -0,0 +1,11 @@ +/* PR c/8588 */ +/* Contributed by Volker Reichelt. */ + +/* Verify that GCC converts integer constants + in shift operations. */ + +void foo() +{ + unsigned int i, j; + j = (i >> 0xf0); +}