This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Thinko in value range support
- From: law at redhat dot com
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Sep 2003 14:35:20 -0600
- Subject: [tree-ssa] Thinko in value range support
- Reply-to: law at redhat dot com
Just a dumb thinko I found when examining why a particular test wasn't
being optimized away.
* tree-ssa-dom.c (simplify_cond_and_lookup_avail_expr): Fix thinko
in test for swapping ranges.
Index: tree-ssa-dom.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa-dom.c,v
retrieving revision 1.1.2.51
diff -c -3 -p -r1.1.2.51 tree-ssa-dom.c
*** tree-ssa-dom.c 30 Sep 2003 17:20:42 -0000 1.1.2.51
--- tree-ssa-dom.c 30 Sep 2003 20:32:47 -0000
*************** simplify_cond_and_lookup_avail_expr (tre
*** 1288,1294 ****
low, cond_low)))
|| (lowequal
&& integer_onep (fold (build (GT_EXPR, boolean_type_node,
! high, cond_high)))))
{
tree temp;
--- 1288,1294 ----
low, cond_low)))
|| (lowequal
&& integer_onep (fold (build (GT_EXPR, boolean_type_node,
! cond_high, high)))))
{
tree temp;