From: Kazu Hirata Date: Fri, 30 Apr 2004 14:19:05 +0000 (+0000) Subject: 20040409-2.c: Fix constants used on 16-bit targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99c4eea1c4765a91230a6a7108f941887ce4dfb9;p=gcc.git 20040409-2.c: Fix constants used on 16-bit targets. * gcc.c-torture/execute/20040409-2.c: Fix constants used on 16-bit targets. From-SVN: r81342 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6ffc75ad769..c0b55a7ca65 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,7 +1,12 @@ +2004-04-30 Kazu Hirata + + * gcc.c-torture/execute/20040409-2.c: Fix constants used on + 16-bit targets. + 2004-04-30 Andrew Pinski - * 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 diff --git a/gcc/testsuite/gcc.c-torture/execute/20040409-2.c b/gcc/testsuite/gcc.c-torture/execute/20040409-2.c index 5bec7ee9218..c83ff1adf5e 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20040409-2.c +++ b/gcc/testsuite/gcc.c-torture/execute/20040409-2.c @@ -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