* gcc.dg/guality/rotatetest.c (f5, f6): Fix up pastos.

From-SVN: r174632
This commit is contained in:
Jakub Jelinek 2011-06-04 08:08:42 +02:00 committed by Jakub Jelinek
parent 82f247af45
commit 57ee85b439
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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" } } */