diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2002-11-19 20:19:50 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2002-11-19 20:19:50 +0000 |
commit | d5fc82c51a225e995495b499f49531c3f24a41cc (patch) | |
tree | 3f351db48ca0d62f6a39fdefd0d602b6155945b0 | |
parent | 35f1c975a38e5a0d721777cb776576c169ed919e (diff) | |
download | gcc-d5fc82c51a225e995495b499f49531c3f24a41cc.zip gcc-d5fc82c51a225e995495b499f49531c3f24a41cc.tar.gz gcc-d5fc82c51a225e995495b499f49531c3f24a41cc.tar.bz2 |
2002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021119-1.c: New test.
From-SVN: r59276
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20021119-1.c | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ec205b0..cb13824 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr> + + * gcc.c-torture/compile/20021119-1.c: New test. + 2002-11-19 Jason Thorpe <thorpej@wasabisystems.com> * 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 0000000..d4306b8 --- /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); +} |