This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Remove unused argument in dump_bb
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] Remove unused argument in dump_bb
- From: Diego Novillo <dnovillo at redhat dot com>
- Date: Thu, 28 Jun 2001 14:10:10 -0400
- Organization: Red Hat Canada
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);