This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8235: Problem compiling gengtype-yacc.y with bison
- From: James Michael DuPont <mdupont777 at yahoo dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 1 Nov 2002 07:46:02 -0000
- Subject: Re: c/8235: Problem compiling gengtype-yacc.y with bison
- Reply-to: James Michael DuPont <mdupont777 at yahoo dot com>
The following reply was made to PR c/8235; it has been noted by GNATS.
From: James Michael DuPont <mdupont777@yahoo.com>
To: Joe Buck <jbuck@synopsys.com>
Cc: Joe Buck <Joe.Buck@synopsys.COM>, 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 <jbuck@synopsys.com> 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/