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]
Other format: [Raw text]

Re: re-establish NetWare as a supported (cross-only) target


On Thu, Jul 08, 2004 at 09:35:33AM +0200, Jan Beulich wrote:
> >> The code originates from config/i386/winnt.c. I supposed that what
> has
> >> been in there for years should be sufficiently correct. I would
> guess
> >> that, much like has been done in other places, replacing xmalloc by
> >> ggc_alloc would be the way to go?
> >
> >try alloca
> 
> The allocation is not local to the function, so that won't work.

Yes it is.  Although I was just going to suggest freeing the 
malloced memory after creating the identifier.



r~


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