From: hariharans Date: Wed, 6 Oct 2010 08:40:57 +0000 (+0000) Subject: gcc.c-torture/execute/cmpsi-2.c : Unsigned comparisons should use X-Git-Tag: upstream/4.9.2~26108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc2f9fc4eb3e9492899b44aeda69488da97125f5;p=platform%2Fupstream%2Flinaro-gcc.git 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 --- 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;