tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH, not TDF_DETAILS.
authorRichard Henderson <rth@redhat.com>
Thu, 10 Sep 2009 18:28:24 +0000 (11:28 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 10 Sep 2009 18:28:24 +0000 (11:28 -0700)
* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
        not TDF_DETAILS.

From-SVN: r151608

gcc/ChangeLog
gcc/tree-cfg.c

index 73f7c2e..fca47b9 100644 (file)
@@ -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.
 
index 5653305..02daee0 100644 (file)
@@ -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))