From: Alexandre Oliva Date: Thu, 18 Jan 2001 12:00:38 +0000 (+0000) Subject: * gcc.dg/cpp/if-2.c: Adjust for signed wchar_t. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34508ae824518688bdc83a4c73a141b21031c668;p=gcc.git * gcc.dg/cpp/if-2.c: Adjust for signed wchar_t. From-SVN: r39116 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 55790841cb5..4482c3d8528 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-01-18 Alexandre Oliva + + * gcc.dg/cpp/if-2.c: Adjust for signed wchar_t. + 2001-01-18 Nathan Sidwell * g++.old-deja/g++.pt/unify8.C: New test. @@ -31,6 +35,7 @@ * gcc.c-torture/compile/20010117-1.c: New test. * gcc.c-torture/compile/20010117-2.c: New test. +>>>>>>> 1.1023 2001-01-15 Toon Moene * g77.f-torture/execute/20010116.[fx]: New test, diff --git a/gcc/testsuite/gcc.dg/cpp/if-2.c b/gcc/testsuite/gcc.dg/cpp/if-2.c index 55e3e710fbe..866d25c3a60 100644 --- a/gcc/testsuite/gcc.dg/cpp/if-2.c +++ b/gcc/testsuite/gcc.dg/cpp/if-2.c @@ -9,11 +9,9 @@ #error L'a' /* { dg-bogus "error" "wide charconst recognition 1" } */ #endif -#if 0 /* This test doesn't work on targets with signed 16-bit wchar_t. */ -#if L'\xfeed' != 0xfeed +#if L'\xfeed' != 0xfeed && L'\xfeed' != (0xfeed - 0x10000) #error 0xfeed /* { dg-bogus "error" "wide charconst recognition 2" } */ #endif -#endif #if L'\x1234' != 0x1234 #error 0x1234 /* { dg-bogus "error" "wide charconst recognition 3" } */