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: [PATCH] Fix PR28187, endless looping in VRP


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


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