Commit b223a28d by Aldy Hernandez Committed by Aldy Hernandez

re PR tree-optimization/92131 (incorrect assumption that (ao >= 0) is always false)

	PR tree-optimization/92131
	* tree-vrp.c (value_range_base::dump): Display +INF for both
	pointers and integers when appropriate.

From-SVN: r277107
parent f261d480
2019-10-17 Aldy Hernandez <aldyh@redhat.com>
PR tree-optimization/92131
* tree-vrp.c (value_range_base::dump): Display +INF for both
pointers and integers when appropriate.
2019-10-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
* tree-vect-loop.c (vect_analyze_loop_2): Use same condition to decide
......
2019-10-17 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/tree-ssa/evrp4.c: Check for +INF instead of -1.
2019-10-17 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/arm/vseleqdf.c: Add missing closing bracket.
......
......@@ -17,4 +17,4 @@ int bar (struct st *s)
foo (&s->a);
}
/* { dg-final { scan-tree-dump "\\\[1B, -1B\\\]" "evrp" } } */
/* { dg-final { scan-tree-dump "\\\[1B, \\+INF\\\]" "evrp" } } */
......@@ -428,8 +428,8 @@ value_range_base::dump (FILE *file) const
fprintf (file, ", ");
if (INTEGRAL_TYPE_P (ttype)
&& vrp_val_is_max (max ())
if (supports_type_p (ttype)
&& vrp_val_is_max (max (), true)
&& TYPE_PRECISION (ttype) != 1)
fprintf (file, "+INF");
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment