This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31169] Bootstrap comparison error at revision 122821
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2007 02:07:02 -0000
- Subject: [Bug tree-optimization/31169] Bootstrap comparison error at revision 122821
- References: <bug-31169-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from dave at hiauly1 dot hia dot nrc dot ca 2007-03-16 02:07 -------
Subject: Re: Bootstrap comparison error at revision 122821
> Did you try reverting the last hunk:
>
> @@ -1816,7 +1833,8 @@
> the new range. */
>
> /* Divisions by zero result in a VARYING value. */
> - if (code != MULT_EXPR
> + if ((code != MULT_EXPR
> + && code != RSHIFT_EXPR)
> && (vr0.type == VR_ANTI_RANGE || range_includes_zero_p (&vr1)))
> {
> set_value_range_to_varying (vr);
FWIW, this is the hunk that introduced the failure.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31169