aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-06-04 08:08:42 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-06-04 08:08:42 +0200
commit57ee85b4394430954a5b2704dbf9d1852cd571fb (patch)
treed595f25f5ef785a8702c801e2ea486fe40abd5d6
parent82f247af451f1be76fd19cfd822422600c5afa53 (diff)
downloadgcc-57ee85b4394430954a5b2704dbf9d1852cd571fb.zip
gcc-57ee85b4394430954a5b2704dbf9d1852cd571fb.tar.gz
gcc-57ee85b4394430954a5b2704dbf9d1852cd571fb.tar.bz2
* gcc.dg/guality/rotatetest.c (f5, f6): Fix up pastos.
From-SVN: r174632
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/guality/rotatetest.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 781d752..6dd2803 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.dg/guality/rotatetest.c (f5, f6): Fix up pastos.
+
2011-06-03 Jakub Jelinek <jakub@redhat.com>
PR c++/49276
diff --git a/gcc/testsuite/gcc.dg/guality/rotatetest.c b/gcc/testsuite/gcc.dg/guality/rotatetest.c
index dff987c..64f5340 100644
--- a/gcc/testsuite/gcc.dg/guality/rotatetest.c
+++ b/gcc/testsuite/gcc.dg/guality/rotatetest.c
@@ -46,7 +46,7 @@ f4 (unsigned int x)
__attribute__((noclone, noinline)) unsigned int
f5 (unsigned int x, int y)
{
- unsigned int f = (x << y) | (x >> (64 - y));
+ unsigned int f = (x << y) | (x >> (32 - y));
unsigned int g = f;
asm volatile ("" : "+r" (f));
vv++; /* { dg-final { gdb-test 52 "g" "f" } } */
@@ -56,7 +56,7 @@ f5 (unsigned int x, int y)
__attribute__((noclone, noinline)) unsigned int
f6 (unsigned int x, int y)
{
- unsigned int f = (x >> y) | (x << (64 - y));
+ unsigned int f = (x >> y) | (x << (32 - y));
unsigned int g = f;
asm volatile ("" : "+r" (f));
vv++; /* { dg-final { gdb-test 62 "g" "f" } } */