From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15884 invoked by alias); 11 May 2003 13: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 15862 invoked by uid 71); 11 May 2003 13:56:00 -0000 Resent-Date: 11 May 2003 13:56:00 -0000 Resent-Message-ID: <20030511135600.15861.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, mmitchel@codesourcery.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, howarth@bromo.med.uc.edu Received: (qmail 11743 invoked by uid 48); 11 May 2003 13:53:56 -0000 Message-Id: <20030511135356.11742.qmail@sources.redhat.com> Date: Sun, 11 May 2003 13:56:00 -0000 From: howarth@bromo.med.uc.edu Reply-To: howarth@bromo.med.uc.edu To: gcc-gnats@gcc.gnu.org Cc: mmitchel@codesourcery.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: mmitchel@codesourcery.com Subject: objc/10739: new bison error syntax confuses objc.dg testsuite tests X-SW-Source: 2003-05/txt/msg01083.txt.bz2 List-Id: >Number: 10739 >Category: objc >Synopsis: new bison error syntax confuses objc.dg testsuite tests >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun May 11 13:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Jack Howarth >Release: gcc-3.3 prerelease (20030509) >Organization: >Environment: Debian ppc sid linux with binutils 2.14.90.0.1. >Description: The objc.dg testsuite tests naming-1.m and naming-2.m are incorrectly being treated as failed when run against the new bison. Executing on host: /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/build/gcc/xgcc -B/home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/build/gcc/ /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/objc.dg/naming-1.m -I/home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/../../libobjc -L/home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/build/powerpc-linux/libobjc/.libs -S -o naming-1.s (timeout = 300) /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/objc.dg/naming-1.m: In function `foo': /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/objc.dg/naming-1.m:12: error: `view' undeclared (first use in this function) /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/objc.dg/naming-1.m:12: error: (Each undeclared identifier is reported only once /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/objc.dg/naming-1.m:12: error: for each function it appears in.) /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/objc.dg/naming-1.m: In function `bar': /home/howarth/debian-gcc-3.3/gcc-3.3-3.3ds8/src/gcc/testsuite/objc.dg/naming-1.m:20: error: syntax error before '=' token compiler exited with status 1 >How-To-Repeat: build the current gcc-3.3-3.3ds8-pre9 package on debian sid >Fix: --- src/gcc/testsuite/objc.dg/naming-1.m.bak 2003-05-11 09:29:43.000000000 -0400 +++ src/gcc/testsuite/objc.dg/naming-1.m 2003-05-11 09:30:26.000000000 -0400 @@ -17,5 +17,5 @@ void bar(void) { View *view; /* ok */ - View = 1; /* { dg-error "parse error" } */ + View = 1; /* { dg-error "parse|syntax error" } */ } --- src/gcc/testsuite/objc.dg/naming-2.m.bak 2003-05-11 09:50:16.000000000 -0400 +++ src/gcc/testsuite/objc.dg/naming-2.m 2003-05-11 09:32:35.000000000 -0400 @@ -4,7 +4,7 @@ @interface Foo @end -float Foo; /* { dg-error "parse error before" } */ +float Foo; /* { dg-error "parse|syntax error before" } */ double Bar; @interface Bar >Release-Note: >Audit-Trail: >Unformatted: