diff options
author | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-30 17:43:04 +0000 |
---|---|---|
committer | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-30 17:43:04 +0000 |
commit | 554204790d608b2e00bcc99c005e3653f3cb668d (patch) | |
tree | 0195687885a9d5f5a8331cf379a629ca39f016c9 | |
parent | 774f8797f927d5da94633135142870bad063a6e9 (diff) | |
download | gcc-554204790d608b2e00bcc99c005e3653f3cb668d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127932 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cfg.c | 2 | ||||
-rw-r--r-- | gcc/print-rtl.c | 12 |
3 files changed, 12 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cbd87462784..b2167ac22bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 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. * df.h (df_dump_region): New function. * loop-invariant.c (find_defs): Add call to df_dump_region. diff --git a/gcc/cfg.c b/gcc/cfg.c index c62033c8201..e397bf50b36 100644 --- 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); diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 2891967390e..a946312c091 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -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; } |