https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71853
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71853
--- Comment #5 from Marek Polacek ---
Author: mpolacek
Date: Fri Jul 29 17:34:55 2016
New Revision: 238884
URL: https://gcc.gnu.org/viewcvs?rev=238884=gcc=rev
Log:
PR c/71853
* c-parser.c (c_parser_switch_statement): Initialize
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71853
--- Comment #4 from Marek Polacek ---
That's because we're using uninitialized struct c_expr in
c_parser_switch_statement. I have a fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71853
--- Comment #3 from Marek Polacek ---
Funny, trying again now, I can reproduce it again:
(gdb) r
Starting program: /home/marek/x/trunk/gcc/cc1 -quiet q.c -Wall -W
q.c: In function ‘f’:
q.c:3:12: error: expected ‘:’ or ‘...’ before ‘{’ token
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71853
--- Comment #2 from Marek Polacek ---
Hmm, I can't seem to reproduce anymore on my laptop, though I see no particular
revision that could have fixed this issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71853
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|