From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8667 invoked by alias); 1 Nov 2002 07:46:02 -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 8634 invoked by uid 71); 1 Nov 2002 07:46:02 -0000 Date: Thu, 31 Oct 2002 23:46:00 -0000 Message-ID: <20021101074602.8631.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: James Michael DuPont Subject: Re: c/8235: Problem compiling gengtype-yacc.y with bison Reply-To: James Michael DuPont X-SW-Source: 2002-10/txt/msg01391.txt.bz2 List-Id: The following reply was made to PR c/8235; it has been noted by GNATS. From: James Michael DuPont To: Joe Buck Cc: Joe Buck , gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org Subject: Re: c/8235: Problem compiling gengtype-yacc.y with bison Date: Thu, 31 Oct 2002 23:43:22 -0800 (PST) --- Joe Buck wrote: > > > It is very simple, > > the problem is that the newest version of bison chokes on the gcc > > gengtype-yacc.y code. This silly bug tracker... > > > > Are you sure i did not send you anything usfull? > > I've been testing the branch, and it has no file by that name, > evidently > you are referring to the gcc code on the trunk. > > Could you please send a group reply to this message, saying: > > 1) exactly which gcc version you tested; > 2) what bison version; > 3) the error output Even if the ast-optimizer is broken, here is the bug report Bison version : unstable 1.75-1, this is the problem but it i working with the stable 1.35-3. The file in question is http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype-yacc.y The error output got lost, I will retry it with the main branch was about this construction typedef_struct: ENT_TYPEDEF_STRUCT options '{' struct_fields '}' ID { new_structure ($1->u.s.tag, UNION_P ($1), &lexer_line, $4, $2); do_typedef ($6, $1, &lexer_line); lexer_toplevel_done = 1; } ';' {} | ENT_STRUCT options '{' struct_fields '}' { new_structure ($1->u.s.tag, UNION_P ($1), &lexer_line, $4, $2); lexer_toplevel_done = 1; } ';' {} ; there was some conflict between the two. I am just compiling the new bison locally to avoid de-installing 1.35, and will report the exact bug tonight (Timezone: GMT +1 ) I will also be looking into doing the switch over to the tree simplied version. it looks interesting. Mike ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/