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: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Aug 2008 11:48:46 -0000
- Subject: [Bug c++/36993] g++ crashes with segfault upon wrong placement of case label
- References: <bug-36993-15349@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-08-01 11:48 -------
GCC 3.3 accepts the code with
t.C: In function `int main()':
t.C:3: warning: unreachable code at beginning of switch statement
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-invalid-code
Known to fail| |4.1.3 4.2.4 4.3.1 4.4.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2008-08-01 11:48:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36993