This is the mail archive of the gcc@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: genautomata.c bug


On 5/14/07, Dave Korn <dave.korn@artimi.com> 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 :-
>
>     1546
>     1551
>
> Compare with :-
>
>     1576
>
> Aaron

  Looks like you're right to me.  We get away with it because a decl is larger
than a regexp.  Testing a patch now.

    cheers,
      DaveK
--
Can't think of a witty .sigline today....



help~~ where is the statement? in whichi function? i can't confirm them now!


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