This is the mail archive of the gcc-patches@gcc.gnu.org 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]

[rtlopt] bb-reorder: new debug message


Hi,

this patch adds a debug message when the basic block can't be duplicated
because it is too large.

Bootstrapped i386.

Josef


Wed Nov 27 17:48:11 CET 2002  Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>

	* bb-reorder.c (copy_bb_p): New debug message.

Index: gcc/bb-reorder.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/bb-reorder.c,v
retrieving revision 1.50.2.7
diff -u -c -3 -p -r1.50.2.7 bb-reorder.c
*** gcc/bb-reorder.c	26 Nov 2002 15:27:09 -0000	1.50.2.7
--- gcc/bb-reorder.c	27 Nov 2002 14:45:39 -0000
*************** copy_bb_p (bb, size_can_grow)
*** 881,886 ****
--- 881,894 ----
  
    if (size <= max_size)
      return true;
+ 
+   if (rtl_dump_file)
+     {
+       fprintf (rtl_dump_file,
+ 	       "Block %d can't be copied because its size = %d.\n",
+ 	       bb->index, size);
+     }
+ 
    return false;
  }
  


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