+2018-02-08 Nathan Sidwell <nathan@acm.org>
+
+ * class.c (finish_struct): Fix std:initializer_list diagnostic
+ formatting.
+
2018-02-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/83204
/* People keep complaining that the compiler crashes on an invalid
definition of initializer_list, so I guess we should explicitly
reject it. What the compiler internals care about is that it's a
- template and has a pointer field followed by an integer field. */
+ template and has a pointer field followed by size_type field. */
bool ok = false;
if (processing_template_decl)
{
}
}
if (!ok)
- fatal_error (input_location,
- "definition of std::initializer_list does not match "
- "#include <initializer_list>");
+ fatal_error (input_location, "definition of %qD does not match "
+ "%<#include <initializer_list>%>", TYPE_NAME (t));
}
input_location = saved_loc;
+2018-02-08 Nathan Sidwell <nathan@acm.org>
+
+ * g++.dg/cpp0x/initlist93.C: Adjust diagnostic.
+
2018-02-08 Richard Sandiford <richard.sandiford@linaro.org>
PR tree-optimization/84265