OSDN Git Service

* gcc.target/mips/mips16e-extends.c (cksum8): Change return
authorths <ths@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Apr 2007 16:10:15 +0000 (16:10 +0000)
committerths <ths@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Apr 2007 16:10:15 +0000 (16:10 +0000)
value to signed char.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124157 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/mips16e-extends.c

index a3a7c1d..9dc7a39 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-25  Thiemo Seufer  <ths@mips.com>
+
+       * gcc.target/mips/mips16e-extends.c (cksum8): Change return
+       value to signed char.
+
 2007-04-25  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.target/i386/reload-1.c. Include <stdint.h>.  Compile for all
index 0523aa5..1107328 100644 (file)
@@ -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));