* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
authorAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 18 Jan 2001 12:00:38 +0000 (12:00 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 18 Jan 2001 12:00:38 +0000 (12:00 +0000)
From-SVN: r39116

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/if-2.c

index 55790841cb5598b864c7034de2a25bd05273bfae..4482c3d85284b14a046ec54030828143ee46b120 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
+
 2001-01-18  Nathan Sidwell  <nathan@codesourcery.com>
 
        * 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  <toon@moene.indiv.nluug.nl>
 
        * g77.f-torture/execute/20010116.[fx]: New test,
index 55e3e710fbeba9779c91268047d4d3a2a9e4b3fd..866d25c3a60605ce7cd927d5d7d4c189d0ada48b 100644 (file)
@@ -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" } */