diff options
author | Diego Novillo <dnovillo@redhat.com> | 2005-04-11 15:05:50 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2005-04-11 11:05:50 -0400 |
commit | 9fabf0d4627f91b28d61b153e84053be525365ef (patch) | |
tree | 3ef2ff01848d34cb99c543d718a73a3aaf91f9ec /gcc/tree-pretty-print.c | |
parent | f5db779b2b87248590386d588a1f8c662169d081 (diff) | |
download | gcc-9fabf0d4627f91b28d61b153e84053be525365ef.tar.gz |
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
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |