[Bug c/17026] New: Error at last empty case in switch block.
do8896 at db dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 14 13:46:00 GMT 2004
GCC misunderstanding empty case in switch, such as:
switch(hmm)
{
case 0:
do_smth();
case 1: //<-- gcc stops here
}
or
switch(hmm)
{
case 0:
do_smth();
default: //<-- gcc stops here
}
Those code-constructions meets in libgda and libgnome-db( and may be all of this
codes normally compiled under older versions of gcc)
--
Summary: Error at last empty case in switch block.
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: do8896 at db dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17026
More information about the Gcc-bugs
mailing list