PR c++/64127
* parser.c (cp_parser_diagnose_invalid_type_name): Check id
for being an identifier before accessing it.
From-SVN: r218573
2014-12-10 Kai Tietz <ktietz@redhat.com>
+ PR c++/64127
+ * parser.c (cp_parser_diagnose_invalid_type_name): Check id
+ for being an identifier before accessing it.
+
PR c++/64100
* typeck.c (lookup_destructor): Handle incomplete type.
inform (location, "C++11 %<noexcept%> only available with "
"-std=c++11 or -std=gnu++11");
else if (cxx_dialect < cxx11
+ && TREE_CODE (id) == IDENTIFIER_NODE
&& !strcmp (IDENTIFIER_POINTER (id), "thread_local"))
inform (location, "C++11 %<thread_local%> only available with "
"-std=c++11 or -std=gnu++11");