libgcc2.a : frame.c uses mallo and free

Fabrice Gautier gautier@email.enst.fr
Fri Jan 26 17:28:00 GMT 2001


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



More information about the Gcc-help mailing list