Re: [PATCH] Dump basic_block flags.

2011-07-20 Thread Richard Henderson
On 07/20/2011 03:23 PM, Steven Bosscher wrote: > On Thu, Jul 21, 2011 at 12:16 AM, Richard Henderson wrote: >> + static const char * const bits[] = { >> +"new", "reachable", "irr_loop", "superblock", "disable_sched", >> +"hot_partition", "cold_partition", "duplicated", >> +

Re: [PATCH] Dump basic_block flags.

2011-07-20 Thread Steven Bosscher
On Thu, Jul 21, 2011 at 12:16 AM, Richard Henderson wrote: > + static const char * const bits[] = { > + "new", "reachable", "irr_loop", "superblock", "disable_sched", > + "hot_partition", "cold_partition", "duplicated", > + "non_local_goto_target", "rtl", "forwarder",

[PATCH] Dump basic_block flags.

2011-07-20 Thread Richard Henderson
Previously we had no indication of which partition a block has been placed in. Re-use some existing code, rather than duplicate it in print_rtl_with_bb. Bootstrapped on x86_64-linux. r~ * cfg.c (dump_bb_info): Dump basic_block->flags. * cfgrtl.c (print_rtl_with_bb): Use dump_bb_