This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR28187, endless looping in VRP
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Guenther <rguenther at suse dot de>
- Date: Thu, 6 Jul 2006 10:26:46 +0200
- Subject: Re: [PATCH] Fix PR28187, endless looping in VRP
- References: <Pine.LNX.4.64.0607060837090.4374@nyjnma.fhfr.qr>
On Thursday 06 July 2006 08:42, Richard Guenther wrote:
> --- 300,313 ----
> /* Update the value range, if necessary. */
> old_vr = get_value_range (var);
> is_new = old_vr->type != new_vr->type
> ! || (old_vr->min == NULL && new_vr->min)
> ! || (old_vr->min && new_vr->min == NULL)
> ! || (old_vr->max == NULL && new_vr->max)
> ! || (old_vr->max && new_vr->max == NULL)
> ! || (old_vr->min && new_vr->min
> ! && !operand_equal_p (old_vr->min, new_vr->min, 0))
> ! || (old_vr->max && new_vr->max
> ! && !operand_equal_p (old_vr->max, new_vr->max, 0))
>
> || (old_vr->equiv == NULL && new_vr->equiv)
> || (old_vr->equiv && new_vr->equiv == NULL)
> || (!bitmap_equal_p (old_vr->equiv, new_vr->equiv));
This is beginning to look like the page-filling conditions that
we have in reload. Can't it be split up somehow?
Gr.
Steven