This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/8235: Problem compiling gengtype-yacc.y with bison


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]