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]

Re: PATCH for expand_end_bindings



  In message <19990521154252U.mitchell@codesourcery.com>you write:
  > 
  > This patch modifies expand_end_bindings to ignore any elements of the
  > VARS list it is passed that are not VAR_DECLs.  It almost did this
  > already, but would ocasionally look at DECL_RTL for things that were
  > not DECLs.  (It's convenient for the C++ front-end to be able to put
  > non-VAR_DECLs on this list.)
  > 
  > I'd like to put this patch on the branch as well since it avoids
  > accessing nodes incorrectly, which we sometimes did, even for legal
  > code.
  > 
  > (BTW, this is more stuff revealed by --enable_checking.)
  > 
  > --
  > Mark Mitchell                   mark@codesourcery.com
  > CodeSourcery, LLC               http://www.codesourcery.com
  > 
  > Fri May 21 15:39:51 1999  Mark Mitchell  <mark@codesourcery.com>
  > 
  > 	* stmt.c (expand_end_bindings): Ignore any elements of VARS that
  > 	are not VAR_DECLs.
This is fine.  Thanks!

jeff


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