From 9fabf0d4627f91b28d61b153e84053be525365ef Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Mon, 11 Apr 2005 15:05:50 +0000 Subject: re PR tree-optimization/20920 (ICE with eh and VRP) PR tree-optimization/20920 * tree-pretty-print.c (dump_generic_node): Show '(ab)' if an SSA_NAME flows through an abnormal edge. * tree-vrp.c (infer_value_range): Ignore SSA names that flow through abnormal edges. (maybe_add_assert_expr): Likewise. PR tree-optimization/20920 * g++.dg/tree-ssa/pr20920.C: New test. From-SVN: r97971 --- gcc/tree-pretty-print.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/tree-pretty-print.c') diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 598cc907819..5d230822a92 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -1416,6 +1416,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, dump_generic_node (buffer, SSA_NAME_VAR (node), spc, flags, false); pp_string (buffer, "_"); pp_decimal_int (buffer, SSA_NAME_VERSION (node)); + if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (node)) + pp_string (buffer, "(ab)"); break; case WITH_SIZE_EXPR: -- cgit v1.2.1