This is the mail archive of the gcc-help@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]

libgcc2.a : frame.c uses mallo and free


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


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