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]

c++ gc miss


Acked by Mark.


r~


        * lex.c (mark_impl_file_chain): Follow the next chain.

Index: lex.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/lex.c,v
retrieving revision 1.149
diff -c -p -d -r1.149 lex.c
*** lex.c	1999/09/15 06:11:47	1.149
--- lex.c	1999/09/15 22:35:46
*************** mark_impl_file_chain (arg)
*** 1129,1136 ****
    struct impl_files *ifs;
  
    ifs = *(struct impl_files **) arg;
!   if (ifs)
!     ggc_mark_string (ifs->filename);
  }
  
  /* Helper function to load global variables with interface
--- 1129,1139 ----
    struct impl_files *ifs;
  
    ifs = *(struct impl_files **) arg;
!   while (ifs)
!     {
!       ggc_mark_string (ifs->filename);
!       ifs = ifs->next;
!     }
  }
  
  /* Helper function to load global variables with interface


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