public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: objc/10739: new bison error syntax confuses objc.dg testsuite tests
@ 2003-05-11 14:10 steven
  0 siblings, 0 replies; 2+ messages in thread
From: steven @ 2003-05-11 14:10 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, howarth, mmitchel, nobody

Synopsis: new bison error syntax confuses objc.dg testsuite tests

State-Changed-From-To: open->closed
State-Changed-By: steven
State-Changed-When: Sun May 11 14:10:21 2003
State-Changed-Why:
    Already fixed, on the branch 3.3 as well as on the mainline

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10739


^ permalink raw reply	[flat|nested] 2+ messages in thread

* objc/10739: new bison error syntax confuses objc.dg testsuite tests
@ 2003-05-11 13:56 howarth
  0 siblings, 0 replies; 2+ messages in thread
From: howarth @ 2003-05-11 13:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mmitchel


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-11 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-11 14:10 objc/10739: new bison error syntax confuses objc.dg testsuite tests steven
  -- strict thread matches above, loose matches on Subject: below --
2003-05-11 13:56 howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).