http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61096
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61096
--- Comment #4 from Marek Polacek ---
Author: mpolacek
Date: Fri May 9 17:50:25 2014
New Revision: 210280
URL: http://gcc.gnu.org/viewcvs?rev=210280&root=gcc&view=rev
Log:
PR c/61096
* c-parser.c (c_parser_braced_init): Pass brace_loc to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61096
--- Comment #3 from Marek Polacek ---
Note that there are 3 error_init calls that seem unreachable (?):
6783
6784 if (COMPLETE_TYPE_P (type) && TREE_CODE (TYPE_SIZE (type)) !=
INTEGER_CST)
6785 {
6786 error_init ("variable-sized
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61096
--- Comment #2 from Marek Polacek ---
Another testcase:
struct
{
char *v;
} s[] = { .v = 0 };
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61096
Marek Polacek changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRMED