Commit 297e9b46 by Kenneth Zadeck Committed by Kenneth Zadeck

cfg.c (dump_flow_info): Change to also print entry and exit block info.

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
parent ffd640ed
2007-08-30 Kenneth Zadeck <zadeck@naturalbridge.com> 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-core.h (df_dump_region): New function.
* df.h (df_dump_region): New function. * df.h (df_dump_region): New function.
* loop-invariant.c (find_defs): Add call to df_dump_region. * loop-invariant.c (find_defs): Add call to df_dump_region.
......
...@@ -646,7 +646,7 @@ dump_flow_info (FILE *file, int flags) ...@@ -646,7 +646,7 @@ dump_flow_info (FILE *file, int flags)
dump_reg_info (file); dump_reg_info (file);
fprintf (file, "\n%d basic blocks, %d edges.\n", n_basic_blocks, n_edges); 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); dump_bb_info (bb, true, true, flags, "", file);
check_bb_profile (bb, file); check_bb_profile (bb, file);
......
...@@ -749,14 +749,10 @@ print_rtl_single (FILE *outf, const_rtx x) ...@@ -749,14 +749,10 @@ print_rtl_single (FILE *outf, const_rtx x)
{ {
outfile = outf; outfile = outf;
sawclose = 0; sawclose = 0;
if (! flag_dump_unnumbered) fputs (print_rtx_head, outfile);
{ print_rtx (x);
fputs (print_rtx_head, outfile); putc ('\n', outf);
print_rtx (x); return 1;
putc ('\n', outf);
return 1;
}
return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment