From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7315 invoked by alias); 9 Jul 2009 09:25:45 -0000 Received: (qmail 6790 invoked by uid 48); 9 Jul 2009 09:25:32 -0000 Date: Thu, 09 Jul 2009 09:25:00 -0000 Message-ID: <20090709092532.6789.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/37231] GCC does not compile code with label statements that are followed by a declaration In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00744.txt.bz2 ------- Comment #6 from manu at gcc dot gnu dot org 2009-07-09 09:25 ------- Is this mandated to be an error by the standard? Perhaps GCC could just pedwarn and add the ';' itself, and compile just fine. Otherwise, I might add a hint: note: either add ';' or open a block after the label. Thoughts? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37231