From: Eric Botcazou Date: Tue, 19 Nov 2002 20:19:50 +0000 (+0000) Subject: 2002-11-19 �Eric Botcazou � X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5fc82c51a225e995495b499f49531c3f24a41cc;p=gcc.git 2002-11-19 �Eric Botcazou � * gcc.c-torture/compile/20021119-1.c: New test. From-SVN: r59276 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ec205b05aa4..cb13824c972 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-11-19  Eric Botcazou   + + * gcc.c-torture/compile/20021119-1.c: New test. + 2002-11-19 Jason Thorpe * gcc.dg/duff-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/20021119-1.c b/gcc/testsuite/gcc.c-torture/compile/20021119-1.c new file mode 100644 index 00000000000..d4306b89b99 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20021119-1.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); +}