From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16336 invoked by alias); 28 Sep 2007 16:39:55 -0000 Received: (qmail 16326 invoked by uid 22791); 28 Sep 2007 16:39:55 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 28 Sep 2007 16:39:52 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l8SGdoa7029333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 28 Sep 2007 12:39:50 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l8SGdoae010967; Fri, 28 Sep 2007 12:39:50 -0400 Received: from opsy.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l8SGdljG030363; Fri, 28 Sep 2007 12:39:48 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 8B0E63783B0; Fri, 28 Sep 2007 10:16:13 -0600 (MDT) To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org Subject: Re: [C++ PATCH] Only allow __label__ at the beginning of compound statements as documented (PR c++/32121) References: <20070927140718.GS2625@devserv.devel.redhat.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Fri, 28 Sep 2007 17:45:00 -0000 In-Reply-To: <20070927140718.GS2625@devserv.devel.redhat.com> (Jakub Jelinek's message of "Thu\, 27 Sep 2007 10\:07\:18 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-09/txt/msg02029.txt.bz2 >>>>> "Jakub" == Jakub Jelinek writes: Jakub> info gcc on __label__ says: Jakub> Local label declarations must come at the beginning of the block, Jakub> before any ordinary declarations or statements. Is there a reason we want this restriction? To me it seems more "C++-like" to allow label declarations anywhere variable declarations are allowed. I would tend to allow __label__ declarations to be mixed with code in C99 mode as well. Tom