From cc2f9fc4eb3e9492899b44aeda69488da97125f5 Mon Sep 17 00:00:00 2001 From: hariharans Date: Wed, 6 Oct 2010 08:40:57 +0000 Subject: [PATCH] gcc.c-torture/execute/cmpsi-2.c : Unsigned comparisons should use unsigned values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165016 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b70a6b2..6e848cd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-10-06 Hariharan Sandanagobalane + + * gcc.c-torture/execute/cmpsi-2.c : Unsigned comparisons should use + unsigned values. + 2010-10-05 Nicola Pero PR objc++/28050 diff --git a/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c b/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c index cf58b9e..f312fbc 100644 --- a/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c +++ b/gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c @@ -49,7 +49,7 @@ fle (long x, long y) return F; } -fltu (long x, long y) +fltu (unsigned long x, unsigned long y) { if (x < y) return T; @@ -57,7 +57,7 @@ fltu (long x, long y) return F; } -fgeu (long x, long y) +fgeu (unsigned long x, unsigned long y) { if (x >= y) return T; @@ -65,7 +65,7 @@ fgeu (long x, long y) return F; } -fgtu (long x, long y) +fgtu (unsigned long x, unsigned long y) { if (x > y) return T; @@ -73,7 +73,7 @@ fgtu (long x, long y) return F; } -fleu (long x, long y) +fleu (unsigned long x, unsigned long y) { if (x <= y) return T; -- 2.7.4