Commit 68cc3174 by Eric Botcazou Committed by Eric Botcazou

* cfgrtl.c (rtl_dump_bb): Do not dump insns for {ENTRY|EXIT}_BLOCK.

From-SVN: r183352
parent 93d277fe
2012-01-20 Eric Botcazou <ebotcazou@adacore.com>
* cfgrtl.c (rtl_dump_bb): Do not dump insns for {ENTRY|EXIT}_BLOCK.
2011-01-20 Tijl Coosemans <tijl@coosemans.org> 2011-01-20 Tijl Coosemans <tijl@coosemans.org>
* config/i386/i386.c: Fix checks for !TARGET_MACHO. * config/i386/i386.c: Fix checks for !TARGET_MACHO.
......
...@@ -1674,9 +1674,10 @@ rtl_dump_bb (basic_block bb, FILE *outf, int indent, int flags ATTRIBUTE_UNUSED) ...@@ -1674,9 +1674,10 @@ rtl_dump_bb (basic_block bb, FILE *outf, int indent, int flags ATTRIBUTE_UNUSED)
putc ('\n', outf); putc ('\n', outf);
} }
for (insn = BB_HEAD (bb), last = NEXT_INSN (BB_END (bb)); insn != last; if (bb->index != ENTRY_BLOCK && bb->index != EXIT_BLOCK)
insn = NEXT_INSN (insn)) for (insn = BB_HEAD (bb), last = NEXT_INSN (BB_END (bb)); insn != last;
print_rtl_single (outf, insn); insn = NEXT_INSN (insn))
print_rtl_single (outf, insn);
if (df) if (df)
{ {
......
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