This is the mail archive of the gcc-patches@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: [match-and-simplify] fix segfault in parser::parse_for


On Wed, Oct 29, 2014 at 2:01 PM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> 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


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