This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: alloca "bug" on x86?
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: alloca "bug" on x86?
- From: Nick Ing-Simmons <nik at tiuk dot ti dot com>
- Date: Wed, 22 Sep 1999 08:34:51 +0100 (BST)
- Cc: gcc at gcc dot gnu dot org, nik at tiuk dot ti dot com, law at cygnus dot com
- Organization: via, but not speaking for : Texas Instruments Ltd.
- References: <199909211850.OAA03201@caip.rutgers.edu>
- Reply-To: Nick Ing-Simmons <nik at tiuk dot ti dot com>
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.