From: Thomas Preud'homme Date: Tue, 6 Jun 2017 09:55:17 +0000 (+0000) Subject: Fix gcc.dg/utf16-4.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2537732ca4c5545bac24d68df55dffc703bf4f6;p=gcc.git Fix gcc.dg/utf16-4.c 2017-06-06 Thomas Preud'homme gcc/testsuite/ * gcc.dg/utf16-4.c: Accept "long unsigned int" as well as "unsigned int" in conversation warning on line 15. From-SVN: r248914 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 35d36c49798..8aed9bc4ff2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-06-06 Thomas Preud'homme + + * gcc.dg/utf16-4.c: Accept "long unsigned int" as well as + "unsigned int" in conversation warning on line 15. + 2017-06-06 Richard Biener PR tree-optimization/80928 diff --git a/gcc/testsuite/gcc.dg/utf16-4.c b/gcc/testsuite/gcc.dg/utf16-4.c index f9ebd61845a..e2f115ebc81 100644 --- a/gcc/testsuite/gcc.dg/utf16-4.c +++ b/gcc/testsuite/gcc.dg/utf16-4.c @@ -12,7 +12,7 @@ char16_t c2 = u'\U00064321'; /* { dg-warning "constant too long" } */ char16_t c3 = 'a'; char16_t c4 = U'a'; char16_t c5 = U'\u2029'; -char16_t c6 = U'\U00064321'; /* { dg-warning "conversion from .unsigned int. to .char16_t {aka short unsigned int}. changes value from .410401. to .17185." } */ +char16_t c6 = U'\U00064321'; /* { dg-warning "conversion from .(long )?unsigned int. to .char16_t {aka short unsigned int}. changes value from .410401. to .17185." } */ char16_t c7 = L'a'; char16_t c8 = L'\u2029'; char16_t c9 = L'\U00064321'; /* { dg-warning "conversion" "" { target { 4byte_wchar_t } } } */