* gcc.c-torture/compile/20021124-1.c: New test.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Nov 2002 22:20:42 +0000 (22:20 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Nov 2002 22:20:42 +0000 (22:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59441 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 94ebf42..f6c85f1 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.c-torture/compile/20021124-1.c: New test.
+
 2002-11-22  Mark Mitchell  <mark@codesourcery.com>
 
        * g++.dg/abi/rtti2.C: New test.
diff --git a/gcc/testsuite/gcc.c-torture/compile/20021124-1.c b/gcc/testsuite/gcc.c-torture/compile/20021124-1.c
new file mode 100644 (file)
index 0000000..3ab2b2e
--- /dev/null
@@ -0,0 +1,7 @@
+/* PR optimization/8275 */
+/* Contributed by Volker Reichelt. */
+
+unsigned int foo (unsigned int u)
+{
+  return (u >> 32) & 0xffff;
+}