From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4759 invoked by alias); 11 May 2003 02:46:01 -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 4730 invoked by uid 71); 11 May 2003 02:46:01 -0000 Resent-Date: 11 May 2003 02:46:01 -0000 Resent-Message-ID: <20030511024601.4729.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, mark@codesourcery.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, howarth@bromo.med.uc.edu Received: (qmail 14486 invoked by uid 48); 11 May 2003 02:37:00 -0000 Message-Id: <20030511023700.14485.qmail@sources.redhat.com> Date: Sun, 11 May 2003 02:46:00 -0000 From: howarth@bromo.med.uc.edu Reply-To: howarth@bromo.med.uc.edu To: gcc-gnats@gcc.gnu.org Cc: mark@codesourcery.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: mark@codesourcery.com Subject: c++/10737: newer bison causes g++.dg/ parse/crash2.C to incorrectly report as failed X-SW-Source: 2003-05/txt/msg01046.txt.bz2 List-Id: >Number: 10737 >Category: c++ >Synopsis: newer bison causes g++.dg/ parse/crash2.C to incorrectly report as failed >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun May 11 02:46:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Jack Howarth >Release: gcc-3.3 prerelease 2 (05/09/2003) >Organization: >Environment: Debian ppc sid linux >Description: The current debian build of gcc 3.3 prerelease 2 exposed a flaw in the g++.dg/ parse/crash2.C test when using the new bison. The results I get are posted at... http://gcc.gnu.org/ml/gcc/2003-05/msg01030.html and an analysis of the origin of the problem is at http://gcc.gnu.org/ml/gcc/2003-05/msg01031.html >How-To-Repeat: build the current gcc-3.3_3.3ds8-0pre9 source package on debian ppc sid. >Fix: I am told the proper fix for this is... Change this line: if ('A' == x) && ('B' == y)) { } /* { dg-error "parse error" } */ to: if ('A' == x) && ('B' == y)) { } /* { dg-error "parse|syntax error" } */ >Release-Note: >Audit-Trail: >Unformatted: