gcc/cp/ChangeLog:
* decl.c (grokdeclarator): Fix a typo in a comment.
This line, and those below, will be ignored--
M ChangeLog
M decl.c
From-SVN: r244912
2017-01-25 Martin Sebor <msebor@redhat.com>
- PR c++/71290
- * decl.c (grokdeclarator): Warn on flexible array members.
+ * decl.c (grokdeclarator): Fix a typo in a comment.
2017-01-25 Jakub Jelinek <jakub@redhat.com>
error ("flexible array member in union");
type = error_mark_node;
}
- else
+ else
{
/* Array is a flexible member. */
if (in_system_header_at (input_location))
- /* Do not warn flexible them in system headers because glibc
- uses them. */;
+ /* Do not warn on flexible array members in system
+ headers because glibc uses them. */;
else if (name)
pedwarn (input_location, OPT_Wpedantic,
"ISO C++ forbids flexible array member %<%s%>", name);