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] adjust for pattern to allow multiple ids


On Sun, Sep 7, 2014 at 11:53 PM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> Changes syntax of for pattern to:
> (for op (list1...) op2 (list2...) opN (listN...)
>    patterns)
>
> Number of operator substitutions must be same.

Indeed.

Thanks - applied.

Richard.

> * genmatch.c (peek_ident): Change id to default argument with value 0.
>     (parse_for): Adjust.
>
> * match-builtin.pd: Rewrite for-patterns to match new syntax.
> * match-comparison.pd: Likewise.
> * match-constant-folding.pd: Likewise.
> * match-conversions.pd: Likewise.
> * match-rotate.pd: Likewise.


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