[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




------- Comment #42 from dave at hiauly1 dot hia dot nrc dot ca  2007-03-31 01:17 -------
Subject: Re:  Bootstrap comparison error at revision 122821

+                 /* We know that the range of input values covers the entire
+                    shift space.  Reduce to canonical [0,width-1].  */
+                 vr1.min = build_int_cst (TREE_TYPE (vr1.min), 0);
+                 vr1.max = build_int_cst (TREE_TYPE (vr1.max), prec - 1);

Wouldn't it be slightly better to just call range_includes_zero_p (&vr1)
and return at this point?

Dave


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: