cfg.c (dump_flow_info): Change to also print entry and exit block info.
authorKenneth Zadeck <zadeck@naturalbridge.com>
Thu, 30 Aug 2007 17:43:04 +0000 (17:43 +0000)
committerKenneth Zadeck <zadeck@gcc.gnu.org>
Thu, 30 Aug 2007 17:43:04 +0000 (17:43 +0000)
2007-08-30  Kenneth Zadeck <zadeck@naturalbridge.com>

* cfg.c (dump_flow_info): Change to also print entry and exit
block info.
* print-rtl.c (print_rtl_single): Allow to print rtl with
-fdump-unnumbered.

From-SVN: r127932

gcc/ChangeLog
gcc/cfg.c
gcc/print-rtl.c

index cbd874627848be7504e98abc3beebafb0b25daf4..b2167ac22bf992902c06cf8b0fb1a2d06c4f015c 100644 (file)
@@ -1,3 +1,10 @@
+2007-08-30  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       * cfg.c (dump_flow_info): Change to also print entry and exit
+       block info.
+       * print-rtl.c (print_rtl_single): Allow to print rtl with
+       -fdump-unnumbered.
+       
 2007-08-30  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * df-core.h (df_dump_region): New function.
index c62033c8201cbb019157b9c4497ea5c915ba6a25..e397bf50b369bc8c079f9b1d100a7743f9e3ea9a 100644 (file)
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -646,7 +646,7 @@ dump_flow_info (FILE *file, int flags)
     dump_reg_info (file);
 
   fprintf (file, "\n%d basic blocks, %d edges.\n", n_basic_blocks, n_edges);
-  FOR_EACH_BB (bb)
+  FOR_ALL_BB (bb)
     {
       dump_bb_info (bb, true, true, flags, "", file);
       check_bb_profile (bb, file);
index 2891967390e0651faf045aeea6409dda0f357d51..a946312c09121ded63fb2fbe8ed3e699b06e2376 100644 (file)
@@ -749,14 +749,10 @@ print_rtl_single (FILE *outf, const_rtx x)
 {
   outfile = outf;
   sawclose = 0;
-  if (! flag_dump_unnumbered)
-    {
-      fputs (print_rtx_head, outfile);
-      print_rtx (x);
-      putc ('\n', outf);
-      return 1;
-    }
-  return 0;
+  fputs (print_rtx_head, outfile);
+  print_rtx (x);
+  putc ('\n', outf);
+  return 1;
 }