From 4b5f13f327efd8af5a4ebad0ad373163380d57db Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Wed, 25 Apr 2007 16:10:15 +0000 Subject: [PATCH] mips16e-extends.c (cksum8): Change return value to signed char. * gcc.target/mips/mips16e-extends.c (cksum8): Change return value to signed char. From-SVN: r124157 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/mips/mips16e-extends.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a3a7c1d3bff..9dc7a398a5d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-04-25 Thiemo Seufer + + * gcc.target/mips/mips16e-extends.c (cksum8): Change return + value to signed char. + 2007-04-25 Uros Bizjak * gcc.target/i386/reload-1.c. Include . Compile for all diff --git a/gcc/testsuite/gcc.target/mips/mips16e-extends.c b/gcc/testsuite/gcc.target/mips/mips16e-extends.c index 0523aa563c5..1107328b002 100644 --- a/gcc/testsuite/gcc.target/mips/mips16e-extends.c +++ b/gcc/testsuite/gcc.target/mips/mips16e-extends.c @@ -8,7 +8,7 @@ short cksum16 (unsigned long n) return l; } -char cksum8 (unsigned long n) +signed char cksum8 (unsigned long n) { unsigned long l; l = validate (n, (n >> 8) + (n & 0xff));