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: Checking xmalloc's return status in c-pragma.c


  In message <19991026234600.A8693@x8b4e53cd.dhcp.okstate.edu>you write:
  > 
  > --ZPt4rx8FFjLCG7dd
  > Content-Type: text/plain; charset=us-ascii
  > 
  > push_alignment in c-pragma.c checks xmalloc's return status to
  > see if there was enough memory to allocate something. Unfortunetly,
  > if I'm not mistaken, xmalloc doesn't return if there wasn't enough
  > memory. (I don't believe something this simple should call for
  > a copyright assignment?)
  > 
  > 1999-10-26  David Starner  <dstarner98@aasaa.ofe.org>
  > 
  >         * c-pragma.c (push_alignment): Don't check the return value
  >         of xmalloc.
Thanks.  Installed.
jeff


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