This is the mail archive of the gcc@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: alloca "bug" on x86?


Kaveh R . Ghazi <ghazi@caip.rutgers.edu> writes:
>
>Another option for concatenating strings would be to use the concat()
>function from libiberty, but that uses malloc, not alloca.  

I just changed all the code to use malloc rather than alloca.
There were a few return-s converted into goto-s to that cleanup 
free could be done, but no real pain.

-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.


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