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: ICE980331 *2 with egcs-2.91.47 19980710


  In message <u9ogusthfy.fsf@yorick.cygnus.com>you write:
  > >>>>> Jeffrey A Law <law@cygnus.com> writes:
  > 
  > > Frankly, I'd prefer to see this function just zero out the whole bloody
  > > structure.  Presumably we don't do that because this function is time
  > > critical for the C++ front end.
  > 
  > You're too generous.  Never assume there's a good reason for bad code.  :)
  > search.c is mostly very old code, and any cleanup is almost certainly a
  > good idea.
I've cleaned it up a little (use bzero to clear the damn node).

Since this isn't time critical, pushing to the right obstack might be
the best thing to do long term instead of using obstack_alloc.

jeff


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