20040409-2.c: Fix constants used on 16-bit targets.
authorKazu Hirata <kazu@gcc.gnu.org>
Fri, 30 Apr 2004 14:19:05 +0000 (14:19 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 30 Apr 2004 14:19:05 +0000 (14:19 +0000)
* gcc.c-torture/execute/20040409-2.c: Fix constants used on
16-bit targets.

From-SVN: r81342

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20040409-2.c

index 6ffc75ad769ec8305b6c912a1715feb0e953f1ce..c0b55a7ca65df11c67aee3b47cc63c04e8efc718 100644 (file)
@@ -1,7 +1,12 @@
+2004-04-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcc.c-torture/execute/20040409-2.c: Fix constants used on
+       16-bit targets.
+
 2004-04-30  Andrew Pinski  <pinskia@physics.uc.edu>
 
-       * rs6000-power2-1.c: Change to compile only.
-       * rs6000-power2-2.c: Likewise.
+       * gcc.dg/rs6000-power2-1.c: Change to compile only.
+       * gcc.dg/rs6000-power2-2.c: Likewise.
 
 2004-04-29  Andrew Pinski  <pinskia@physics.uc.edu>
 
index 5bec7ee9218d6d9eb7ae9584688b6946604c3894..c83ff1adf5ea05ddb5640c1db3b3a43176257ad6 100644 (file)
@@ -227,13 +227,13 @@ int main()
   test(0x1234,0x8000);
   test(0x8000,0x1234);
   test(0x9234,0x0000);
-  test(0x7fff,0xffff);
-  test(0xffff,0x7fff);
+  test(0x7fff,0xedcb);
+  test(0xffff,0x6dcb);
 
-  testu(0x0000,0x8000);
-  testu(0x8000,0x0000);
-  testu(0x1234,0x9234);
-  testu(0x9234,0x1234);
+  testu(0x0000,0x9234);
+  testu(0x8000,0x1234);
+  testu(0x1234,0x8000);
+  testu(0x9234,0x0000);
   testu(0x7fff,0xedcb);
   testu(0xffff,0x6dcb);
 #endif