+2017-05-30 Martin Sebor <msebor@redhat.com>
+
+ PR c/80731
+ * g++.dg/ext/utf16-4.C: Relax test.
+ * gcc.dg/fixed-point/int-warning.c: Adjust.
+
2017-05-30 David Malcolm <dmalcolm@redhat.com>
* g++.dg/plugin/plugin.exp (plugin_test_list): Add...
const static char16_t c6 = U'\U00064321'; /* { dg-warning "conversion from .char32_t. to .char16_t. changes value from .410401. to .17185." } */
const static char16_t c7 = L'a';
const static char16_t c8 = L'\u2029';
-const static char16_t c9 = L'\U00064321'; /* { dg-warning "unsigned conversion from .wchar_t. to .char16_t. changes value from .410401. to .17185." "" { target { 4byte_wchar_t } } } */
+const static char16_t c9 = L'\U00064321'; /* { dg-warning "conversion from .wchar_t. to .char16_t. changes value from .410401. to .17185." "" { target { 4byte_wchar_t } } } */
/* { dg-warning "constant too long" "" { target { ! 4byte_wchar_t } } .-1 } */
int main () {}
void test()
{
- sc = 500k; /* { dg-warning "overflow in implicit constant conversion" } */
- sc = -500k; /* { dg-warning "overflow in implicit constant conversion" } */
- sc = 500lk; /* { dg-warning "overflow in implicit constant conversion" } */
- sc = -500lk; /* { dg-warning "overflow in implicit constant conversion" } */
- sc = 500llk; /* { dg-warning "overflow in implicit constant conversion" } */
- sc = -500llk; /* { dg-warning "overflow in implicit constant conversion" } */
- uc = 500k; /* { dg-warning "overflow in implicit constant conversion" } */
- uc = -500k; /* { dg-warning "overflow in implicit constant conversion" } */
- uc = 500lk; /* { dg-warning "overflow in implicit constant conversion" } */
- uc = -500lk; /* { dg-warning "overflow in implicit constant conversion" } */
- uc = 500llk; /* { dg-warning "overflow in implicit constant conversion" } */
- uc = -500llk; /* { dg-warning "overflow in implicit constant conversion" } */
+ sc = 500k; /* { dg-warning "overflow in conversion" } */
+ sc = -500k; /* { dg-warning "overflow in conversion" } */
+ sc = 500lk; /* { dg-warning "overflow in conversion" } */
+ sc = -500lk; /* { dg-warning "overflow in conversion" } */
+ sc = 500llk; /* { dg-warning "overflow in conversion" } */
+ sc = -500llk; /* { dg-warning "overflow in conversion" } */
+ uc = 500k; /* { dg-warning "overflow in conversion" } */
+ uc = -500k; /* { dg-warning "overflow in conversion" } */
+ uc = 500lk; /* { dg-warning "overflow in conversion" } */
+ uc = -500lk; /* { dg-warning "overflow in conversion" } */
+ uc = 500llk; /* { dg-warning "overflow in conversion" } */
+ uc = -500llk; /* { dg-warning "overflow in conversion" } */
}