Re: [match-and-simplify] fix segfault in parser::parse_for

2014-10-29 Thread Richard Biener
On Wed, Oct 29, 2014 at 2:01 PM, Prathamesh Kulkarni wrote: > genmatch segfaults if user-defined operator is not specified. > > eg: > (for (oper1 oper2...) > pattern) > > * genmatch.c > (parser::parse_for): Call peek instead of peek_ident. Thanks - applied. Richard. > Thanks, > Prathamesh

[match-and-simplify] fix segfault in parser::parse_for

2014-10-29 Thread Prathamesh Kulkarni
genmatch segfaults if user-defined operator is not specified. eg: (for (oper1 oper2...) pattern) * genmatch.c (parser::parse_for): Call peek instead of peek_ident. Thanks, Prathamesh Index: genmatch.c === --- genmatch.c (revisio