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 to correct typo in dump_cuid_table() gcse.c


Hi

Here's a patch to correct a typo in gcse.c
it only affects the formating of the debuging
dump generated.

*	gcse.c (dump_cuid_table): corrected typo
      

*** gcse.c.orig	Sat Oct 17 15:17:53 1998
--- gcse.c	Sat Oct 17 15:18:57 1998
*************** void
*** 927,939 ****
  dump_cuid_table (file)
       FILE *file;
  {
!   int i,n;
  
    fprintf (file, "CUID table\n");
!   for (i = n = 0; i < max_cuid; i++)
      {
        rtx insn = CUID_INSN (i);
!       if (n != 0 && n % 10 == 0)
  	fprintf (file, "\n");
        if (insn != NULL)
  	fprintf (file, " %d", INSN_UID (insn));
--- 927,939 ----
  dump_cuid_table (file)
       FILE *file;
  {
!   int i;
  
    fprintf (file, "CUID table\n");
!   for (i = 0; i < max_cuid; i++)
      {
        rtx insn = CUID_INSN (i);
!       if (i != 0 && i % 10 == 0)
  	fprintf (file, "\n");
        if (insn != NULL)
  	fprintf (file, " %d", INSN_UID (insn));

Graham


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