This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GSoC][match-and-simplify] reject builtin operator as for variable
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Prathamesh Kulkarni <bilbotheelffriend at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>
- Date: Fri, 8 Aug 2014 10:47:15 +0200
- Subject: Re: [GSoC][match-and-simplify] reject builtin operator as for variable
- Authentication-results: sourceware.org; auth=none
- References: <CAJXstsDPhDW0fqu27GpKoU+1XKpyTAwazCjLeTp+yn5p7acT2g at mail dot gmail dot com>
On Fri, Aug 8, 2014 at 12:42 AM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> reject operator to be used as variable in for.
> eg:
> (for mult in plus minus)
> ....
>
> * genmatch.c (get_operator): New function.
> (e_operation::e_operation): Adjust to call get_operator.
> (parse_for): Add call to get_operator.
Thanks, committed.
Richard.
> Thanks,
> Prathamesh