This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36993] g++ crashes with segfault upon wrong placement of case label
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 15:34:17 +0000
- Subject: [Bug c++/36993] g++ crashes with segfault upon wrong placement of case label
- Auto-submitted: auto-generated
- References: <bug-36993-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36993
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
Known to fail| |
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-27 12:23:08 UTC ---
Jason, can you help me resolving this?
In a sense, we are in a switch statement - thus parser->in_switch_statement_p
== true and we don't error out @ line 8054 of
cp_parser_label_for_labeled_statement - but the EDG front-end rejects this
code, at least the versions I have available.