2008-05-06 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/36155
* gcc.dg/utf32-4.c: Fix a typo.
* lib/target-supports.exp (check_effective_target_4byte_wchar_t):
Use __WCHAR_TYPE__ instead of wchar_t.
From-SVN: r134994
+2008-05-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR testsuite/36155
+ * gcc.dg/utf32-4.c: Fix a typo.
+
+ * lib/target-supports.exp (check_effective_target_4byte_wchar_t):
+ Use __WCHAR_TYPE__ instead of wchar_t.
+
2008-05-06 Mark Shinwell <shinwell@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>
char32_t c6 = u'\U00064321'; /* { dg-warning "constant too long" } */
char32_t c7 = L'a';
char32_t c8 = L'\u2029';
-char32_t c9 = L'\U00064321'; /* { dg-warning "constant too long" { target { ! 4byte_wchar_t } } } */
+char32_t c9 = L'\U00064321'; /* { dg-warning "constant too long" "" { target { ! 4byte_wchar_t } } } */
int main () {}
proc check_effective_target_4byte_wchar_t { } {
return [check_no_compiler_messages 4byte_wchar_t object {
- int dummy[sizeof (wchar_t) >= 4 ? 1 : -1];
+ int dummy[sizeof (__WCHAR_TYPE__) >= 4 ? 1 : -1];
}]
}