diff options
author | Hariharan Sandanagobalane <hariharan@picochip.com> | 2010-10-06 08:40:57 +0000 |
---|---|---|
committer | Hariharan Sandanagobalane <hariharans@gcc.gnu.org> | 2010-10-06 08:40:57 +0000 |
commit | b938bc48d844e85327c603e01bb6c303462c2613 (patch) | |
tree | 4b5299255b7f1c00a6fa1e290bbe7938419b3a49 | |
parent | 2720cc47173b23e02cb9e08975919e40e75f6109 (diff) | |
download | gcc-b938bc48d844e85327c603e01bb6c303462c2613.zip gcc-b938bc48d844e85327c603e01bb6c303462c2613.tar.gz gcc-b938bc48d844e85327c603e01bb6c303462c2613.tar.bz2 |
gcc.c-torture/execute/cmpsi-2.c : Unsigned comparisons should use
unsigned values.
From-SVN: r165016
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <hariharan@picochip.com> + + * gcc.c-torture/execute/cmpsi-2.c : Unsigned comparisons should use + unsigned values. + 2010-10-05 Nicola Pero <nicola.pero@meta-innovation.com> 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 cf58b9e7..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; |