2002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr>
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2002 20:19:50 +0000 (20:19 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2002 20:19:50 +0000 (20:19 +0000)
* gcc.c-torture/compile/20021119-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59276 138bc75d-0d04-0410-961f-82ee72b054a4

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

index ec205b0..cb13824 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);
+}