This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GSoC] [match-and-simplify] check for capture index
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Prathamesh Kulkarni <bilbotheelffriend at gmail dot com>
- Cc: Diego Novillo <dnovillo at google dot com>, "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: Mon, 23 Jun 2014 10:56:06 +0200
- Subject: Re: [GSoC] [match-and-simplify] check for capture index
- Authentication-results: sourceware.org; auth=none
- References: <CAJXstsB77Bp_B_6-WxUuFuWri0raNhfmGAny3hk=1NwjdWQfSw at mail dot gmail dot com>
On Wed, Jun 18, 2014 at 3:07 PM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> Put a check for capture index.
>
> * genmatch.c (parse_capture): Add condition to check capture index.
> (capture_max): New constant.
> (stdlib.h): Include.
I'd rather record the maximum seen capture index and remove that
fixed-size everywhere ...
Thanks,
Richard.
> Thanks and Regards,
> Prathamesh