This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
libgcc2.a : frame.c uses mallo and free
- To: <gcc-help at gcc dot gnu dot org>
- Subject: libgcc2.a : frame.c uses mallo and free
- From: "Fabrice Gautier" <gautier at email dot enst dot fr>
- Date: Sat, 27 Jan 2001 02:27:09 +0100
Hi,
What does the code in frame.c do?
I gets included in libgcc2.a but call malloc.
Is this code always get compiled? If not in which cases it is?
Should not malloc be replaced by automatic arrays or alloca (something
implemented by the compiler itself rateher than by a libc)
And shouldn't inhibit_libc conditionalize such code?
Thanks
--
Fabrice Gautier
gautier@email.enst.fr