Re: genautomata.c bug

2007-05-14 Thread Aaron Gray
On 5/14/07, Dave Korn <[EMAIL PROTECTED]> wrote: On 14 May 2007 12:40, Wei Chen wrote: > help~~ > where is the statement? At the line numbers Aaron mentioned of the latest rev of genautomata.c > in whichi function? gen_regexp_el > i can't confirm them now! Please see http://gcc.gnu.or

Re: genautomata.c bug

2007-05-14 Thread Wei Chen
On 5/14/07, Dave Korn <[EMAIL PROTECTED]> wrote: On 14 May 2007 12:40, Wei Chen wrote: > help~~ > where is the statement? At the line numbers Aaron mentioned of the latest rev of genautomata.c > in whichi function? gen_regexp_el > i can't confirm them now! Please see http://gcc.gnu.or

RE: genautomata.c bug

2007-05-14 Thread Dave Korn
On 14 May 2007 12:40, Wei Chen wrote: > help~~ > where is the statement? At the line numbers Aaron mentioned of the latest rev of genautomata.c > in whichi function? gen_regexp_el > i can't confirm them now! Please see http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00882.html cheers

Re: genautomata.c bug

2007-05-14 Thread Thomas Neumann
> Looks like you're right to me. We get away with it because a decl is larger > than a regexp. Testing a patch now. this would be fixed by my patch here http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00814.html which is not reviewed yet. The patch switches to typesafe memory allocation, which u

Re: genautomata.c bug

2007-05-14 Thread Wei Chen
On 5/14/07, Dave Korn <[EMAIL PROTECTED]> wrote: On 12 May 2007 19:05, Aaron Gray wrote: > I think I have found some bugs in genautomata.c > > regexp = create_node( sizeof( struct decl)); > > I believe this should be :- > > regexp = create_node( sizeof( struct regexp)); > > Lines :- > >

RE: genautomata.c bug

2007-05-14 Thread Dave Korn
On 12 May 2007 19:05, Aaron Gray wrote: > I think I have found some bugs in genautomata.c > > regexp = create_node( sizeof( struct decl)); > > I believe this should be :- > > regexp = create_node( sizeof( struct regexp)); > > Lines :- > > 1546 > 1551 > > Compare with :- > >