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: [GSoC][match-and-simplify] reject builtin operator as for variable


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


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