From feb4e5ba87ce9a1774925b939959ec6d7f20f813 Mon Sep 17 00:00:00 2001
From: Richard Henderson <rth@redhat.com>
Date: Thu, 10 Sep 2009 11:28:24 -0700
Subject: [PATCH] tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
 not TDF_DETAILS.

* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
        not TDF_DETAILS.

From-SVN: r151608
---
 gcc/ChangeLog  | 3 +++
 gcc/tree-cfg.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 73f7c2e1e958..fca47b920771 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
 2009-09-10  Richard Henderson  <rth@redhat.com>
 
+	* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
+	not TDF_DETAILS.
+
 	* tree-cfg.c (gimple_redirect_edge_and_branch): Do
 	gimple_try_redirect_by_replacing_jump test after no-op and EH tests.
 
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 565330591a4a..02daee092efd 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -6442,7 +6442,7 @@ dump_function_to_file (tree fn, FILE *file, int flags)
     print_node (file, "", fn, 2);
 
   dsf = DECL_STRUCT_FUNCTION (fn);
-  if (dsf && (flags & TDF_DETAILS))
+  if (dsf && (flags & TDF_EH))
     dump_eh_tree (file, dsf);
 
   if (flags & TDF_RAW && !gimple_has_body_p (fn))
-- 
GitLab