]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c-torture/compile/20021124-1.c: New test.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sun, 24 Nov 2002 22:09:59 +0000 (22:09 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 24 Nov 2002 22:09:59 +0000 (22:09 +0000)
From-SVN: r59439

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

index 7158a857a34c8dcfc3c3fb562b99ae2226528413..3384474713990718cef7400cf343aaeb945a9268 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-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * gcc.c-torture/execute/loop-2e.x: Let the testcase
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;
+}