This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

update bb flag dump

enum bb_flags was modified but the code that dumps information about
it wasn't updated.  This patch fixes it, but it possibly adds too many
uninteresting flags.

Comments?  Ok?

for  gcc/ChangeLog
from  Alexandre Oliva  <>

	* cfg.c (dump_cfg_bb_info): Update bb_bitnames to match enum.

Index: gcc/cfg.c
--- gcc/cfg.c.orig	2007-09-08 20:11:25.000000000 -0300
+++ gcc/cfg.c	2007-10-12 03:11:08.000000000 -0300
@@ -881,7 +881,9 @@ dump_cfg_bb_info (FILE *file, basic_bloc
   bool first = true;
   static const char * const bb_bitnames[] =
-      "dirty", "new", "reachable", "visited", "irreducible_loop", "superblock"
+      "new", "reachable", "irreducible_loop", "superblock",
+      "nosched", "hot", "cold", "dup", "xlabel", "rtl",
+      "fwdr", "nothrd"
   const unsigned n_bitnames = sizeof (bb_bitnames) / sizeof (char *);
   edge e;
Alexandre Oliva
FSF Latin America Board Member
Red Hat Compiler Engineer   aoliva@{,}
Free Software Evangelist  oliva@{,}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]