From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30601 invoked by alias); 18 May 2003 08:28:46 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 28151 invoked from network); 18 May 2003 08:27:24 -0000 Received: from unknown (HELO mail.jlokier.co.uk) (81.29.64.88) by sources.redhat.com with SMTP; 18 May 2003 08:27:24 -0000 Received: from mail.jlokier.co.uk (localhost [127.0.0.1]) by mail.jlokier.co.uk (8.12.8/8.12.8) with ESMTP id h4I8RN6R006359 for ; Sun, 18 May 2003 09:27:23 +0100 Received: (from jamie@localhost) by mail.jlokier.co.uk (8.12.8/8.12.8/Submit) id h4I8RNFv006357 for gcc@gcc.gnu.org; Sun, 18 May 2003 09:27:23 +0100 Date: Sun, 18 May 2003 08:52:00 -0000 From: Jamie Lokier To: gcc@gcc.gnu.org Subject: C99 parsing error? Message-ID: <20030518082723.GA6350@mail.jlokier.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2003-05/txt/msg01684.txt.bz2 Is it really not permitted to write this in C99?: while (--length >= 0) { loop: int byte = *data++; GCC 3.2.2 reports: parse error before "int" If I replace "loop:" with "loop:;", it's fine. Perhaps GCC is correct to reject this, but it is surprising. -- Jamie