This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove non needed check in bmp_iter_set_init (PR tree-optimization/82669).
- 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: Wed, 8 Nov 2017 09:18:14 -0700
- Subject: Re: [PATCH] Remove non needed check in bmp_iter_set_init (PR tree-optimization/82669).
- Authentication-results: sourceware.org; auth=none
- References: <6fd65b56-59cc-b91b-68fc-12f89f369f12@suse.cz>
On 11/08/2017 12:13 AM, Martin Liška wrote:
> Hello.
>
> Assert removal is logical as it's used in iteration and if sbitmap is empty, iteration
> macro will not touch any element of a bitmap.
>
> Ready after it survives regression tests?
>
> Thanks,
> Martin
>
> gcc/ChangeLog:
>
> 2017-11-08 Martin Liska <mliska@suse.cz>
>
> PR tree-optimization/82669
> * sbitmap.h (bmp_iter_set_init): Remove non needed check.
OK.
jeff