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: PATCH: Output names safely in assembly


"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:

|  > From: Richard Henderson <rth@redhat.com>
|  > 
|  > On Sat, May 25, 2002 at 04:43:51PM +0200, Gabriel Dos Reis wrote:
|  > > Yes.  Actually, we would want use alloca() but we changed our mind since
|  > > it wouldn't necessarily be available at stage1.
|  > 
|  > It is.  Look at the include/libiberty.h.
|  > r~
| 
| More specifically, look at ASTRDUP which does exactly what you want
| even in stage1.  But I thought we were trying to avoid adding alloca
| and instead prefer xmalloc/free anyway.

If the general agreement is to avoid alloca() then that is fine.
Thanks to both of you.

-- Gaby


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