2002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr>
authorEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 19 Nov 2002 20:19:50 +0000 (20:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 19 Nov 2002 20:19:50 +0000 (20:19 +0000)
* gcc.c-torture/compile/20021119-1.c: New test.

From-SVN: r59276

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20021119-1.c [new file with mode: 0644]

index ec205b05aa4e9d37ff17d84cb5a62577fac736b1..cb13824c9725d6984b7a27cc3a74bc30e087fb90 100644 (file)
@@ -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 (file)
index 0000000..d4306b8
--- /dev/null
@@ -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);
+}