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]

[patch] Remove unused argument in dump_bb


When bb->count was converted to gcov_type, the first fprintf() in
dump_bb wasn't updated.

I guess this qualifies as an obvious fix?  I haven't tested it.

Diego.


2001-06-28  Diego Novillo  <dnovillo@redhat.com>

      * flow.c (dump_bb): Remove unused third argument to call
      to fprintf when displaying the basic block header.

  
Index: flow.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/flow.c,v
retrieving revision 1.407
diff -d -p -r1.407 flow.c
*** flow.c      2001/06/28 08:44:16     1.407
--- flow.c      2001/06/28 18:08:12
*************** dump_bb (bb, outf)
*** 6476,6482 ****
    edge e;
  
    fprintf (outf, ";; Basic block %d, loop depth %d, count ",
!          bb->index, bb->loop_depth, bb->count);
    fprintf (outf, HOST_WIDEST_INT_PRINT_DEC, (HOST_WIDEST_INT) bb->count);
    putc ('\n', outf);
  
--- 6476,6482 ----
    edge e;
  
    fprintf (outf, ";; Basic block %d, loop depth %d, count ",
!          bb->index, bb->loop_depth);
    fprintf (outf, HOST_WIDEST_INT_PRINT_DEC, (HOST_WIDEST_INT) bb->count);
    putc ('\n', outf);


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