Re: [GSoC][match-and-simplify] change syntax of inner-if

2014-07-23 Thread Richard Biener
On Wed, Jul 23, 2014 at 2:09 AM, Prathamesh Kulkarni wrote: > This patch changes syntax of inner-if to be parenthesized - (if (cond)) > > * genmatch.c (parse_match_and_simplify): Adjust to parse parenthesized if. > (peek_ident): New function. > > * match.pd: Adjust patterns having if-expr to

[GSoC][match-and-simplify] change syntax of inner-if

2014-07-22 Thread Prathamesh Kulkarni
This patch changes syntax of inner-if to be parenthesized - (if (cond)) * genmatch.c (parse_match_and_simplify): Adjust to parse parenthesized if. (peek_ident): New function. * match.pd: Adjust patterns having if-expr to new syntax. Thanks and Regards, Prathamesh Index: gcc/genmatch.c =