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++ PATCH: bringing current cvs to bootstrap land



The following patchlet brings current cvs tree to bootstrap land.

Bootstrapped and tested on i686-pc-linux.  No regression.

OK to install?

-- Gaby
2000-09-12  Gabriel Dos Reis  <gdr@codesourcery.com>

	* decl.c (getdecls): Check for NULL scope.

Index: decl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/decl.c,v
retrieving revision 1.689
diff -p -r1.689 decl.c
*** decl.c      2000/09/12 06:45:58     1.689
--- decl.c      2000/09/12 11:04:46
*************** finish_case_label (low_value, high_value
*** 5384,5390 ****
  tree
  getdecls ()
  {
!   return current_binding_level->names;
  }
  
  /* Return the list of type-tags (for structs, etc) of the current level.  */
--- 5384,5390 ----
  tree
  getdecls ()
  {
!   return scope_chain ? current_binding_level->names : 0;
  }
  
  /* Return the list of type-tags (for structs, etc) of the current level.  */


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