This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/31169] Bootstrap comparison error at revision 122821



------- Comment #15 from rguenth at gcc dot gnu dot org  2007-03-15 21:06 -------
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);

that should be the only one that increases the amount of optimization done.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31169


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