From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11998 invoked by alias); 18 Dec 2002 21:46:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 11980 invoked by uid 71); 18 Dec 2002 21:46:01 -0000 Date: Wed, 18 Dec 2002 13:46:00 -0000 Message-ID: <20021218214601.11977.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Joseph S. Myers" Subject: Re: optimization/8994: [3.2/3.3 regression] ICE with -O -march=pentium4 Reply-To: "Joseph S. Myers" X-SW-Source: 2002-12/txt/msg00972.txt.bz2 List-Id: The following reply was made to PR optimization/8994; it has been noted by GNATS. From: "Joseph S. Myers" To: Wolfgang Bangerth Cc: Subject: Re: optimization/8994: [3.2/3.3 regression] ICE with -O -march=pentium4 Date: Wed, 18 Dec 2002 21:41:44 +0000 (GMT) On 18 Dec 2002, Wolfgang Bangerth wrote: > Why is it warning about this: > > tmp/regression/test/PR8994.c: In function `js_dtoa': > tmp/regression/test/PR8994.c:12: warning: deprecated use of label at end > of compound statement > > The compound statement is then actually the function body, and this seems > like a pretty common technique. Also, saying deprecated means that it is Yes, it is the function body. The standard syntax says that the function body is a compound statement. > either deprecated by the standard, or it is illegal but accepted by gcc as > an extension. It is the latter, right, since a label must be followed by > another statement, and be it only ";". Yes. It in a deprecated undocumented extension. See the 3.0 release notes. -- Joseph S. Myers jsm28@cam.ac.uk