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
Richard Guenther wrote on 07/06/06 09:51:
> ! /* Minimum and maximum value can be NULL_TREE or
> ! expressions. Guard the calls to operand_equal_p
> ! accordingly. */
> ! || (old_vr->min == NULL_TREE && new_vr->min)
> ! || (old_vr->min && new_vr->min == NULL_TREE)
> ! || (old_vr->min && new_vr->min
> ! && !operand_equal_p (old_vr->min, new_vr->min, 0))
> ! || (old_vr->max == NULL_TREE && new_vr->max)
> ! || (old_vr->max && new_vr->max == NULL_TREE)
> ! || (old_vr->max && new_vr->max
> ! && !operand_equal_p (old_vr->max, new_vr->max, 0))
> ! /* bitmap_equal_p doesn't handle NULL arguments either. */
> || (old_vr->equiv == NULL && new_vr->equiv)
> || (old_vr->equiv && new_vr->equiv == NULL)
> || (!bitmap_equal_p (old_vr->equiv, new_vr->equiv));
>
No, the version with the static inline vrp_*_equal_p.