This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix compile-time hog in MPX boundary checking (PR target/84988).
- From: Jeff Law <law at redhat dot com>
- To: Martin Liška <mliska at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 20 Mar 2018 13:37:21 -0600
- Subject: Re: [PATCH] Fix compile-time hog in MPX boundary checking (PR target/84988).
- References: <cee6942c-76ed-1a48-a744-a08aa3408e48@suse.cz>
On 03/20/2018 01:36 PM, Martin Liška wrote:
> Hi.
>
> This is a work-around to not iterate all members of array that can be huge.
> As MPX will be removed in GCC 9.x, I hope it's acceptable. I don't want
> to come
> up with a new param for it.
>
> Survives tests&bootstrap on x86_64-linux-gnu.
>
> Martin
>
> gcc/ChangeLog:
>
> 2018-03-20 Martin Liska <mliska@suse.cz>
>
> PR target/84988
> * tree-chkp.c (CHKP_ARRAY_MAX_CHECK_STEPS): Define a new macro.
> (chkp_find_bound_slots_1): Limit number of iterations.
Or just CLOSE/WONTFIX :-)
I've got no objections here -- we want to minimize the effort put into
CHKP given its going to be deprecated.
jeff