]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c-torture/compile/20021123-4.c: New test.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sat, 23 Nov 2002 08:38:27 +0000 (08:38 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 23 Nov 2002 08:38:27 +0000 (08:38 +0000)
From-SVN: r59415

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

index 76361d26594ca2d2b9d0d2aac1353e3ea135ea98..6eb867eb1496c6e13b2cdfd9900f130594242ead 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.c-torture/compile/20021123-4.c: New test.
+
 2002-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * 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 (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);
+}