From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21835 invoked by alias); 19 May 2003 07:56:00 -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 21812 invoked by uid 71); 19 May 2003 07:56:00 -0000 Resent-Date: 19 May 2003 07:56:00 -0000 Resent-Message-ID: <20030519075600.21811.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, warwick@trolltech.com Received: (qmail 18193 invoked by uid 48); 19 May 2003 07:54:20 -0000 Message-Id: <20030519075420.18192.qmail@sources.redhat.com> Date: Mon, 19 May 2003 07:56:00 -0000 From: warwick@trolltech.com Reply-To: warwick@trolltech.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/10853: Parse internal error on ambiguous syntax. X-SW-Source: 2003-05/txt/msg02056.txt.bz2 List-Id: >Number: 10853 >Category: c++ >Synopsis: Parse internal error on ambiguous syntax. >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon May 19 07:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: warwick@trolltech.com >Release: 3.2 >Organization: >Environment: i486-suse-linux >Description: Small attached file gives internal compiler error (new in 3.2): ambigsyntaxcrash.cpp: In function `void func()': ambigsyntaxcrash.cpp:12: type specifier omitted for parameter ` Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: gcc ambigsyntaxcrash.cpp >Fix: Disambiguate syntax (eg. "int(d)" becomes "(int)(d)"). >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-c++src; name="ambigsyntaxcrash.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ambigsyntaxcrash.cpp" Y2xhc3MgVHlwZSB7CnB1YmxpYzoKICAgIFR5cGUoaW50LGludCk7Cn07Cgp2b2lkIGZ1bmMoKQp7 CiAgICBkb3VibGUgZDsKICAgIGludCBpKCk7CgogICAgLy8gT0sgdG8gZ2V0IGNvbmZ1c2VkICg/ KSwgbm90IE9LIHRvICJpbnRlcm5hbCBjb21waWxlciBlcnJvciIKICAgIFR5cGUgdmFyKChpbnQp KGQpLCBpKCkpOwp9Cg==