From 70615f1ce7ba6dc64a91ef3846691a22c87927a2 Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Sun, 24 Nov 2002 22:20:42 +0000 Subject: [PATCH] * gcc.c-torture/compile/20021124-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59441 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/compile/20021124-1.c | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/20021124-1.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 94ebf42..f6c85f1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-11-24  Eric Botcazou   + + * gcc.c-torture/compile/20021124-1.c: New test. + 2002-11-22 Mark Mitchell * 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 index 0000000..3ab2b2e --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20021124-1.c @@ -0,0 +1,7 @@ +/* PR optimization/8275 */ +/* Contributed by Volker Reichelt. */ + +unsigned int foo (unsigned int u) +{ + return (u >> 32) & 0xffff; +} -- 2.7.4