This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [tree-ssa] dead const/pure/alloca call removal


On 10 Nov 2003 09:48:13 +0100, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

> As is, GCC does not provide an implementation for malloc, and a user
> program that calls malloc has to take special actions (e.g. third
> party library) to have it translated into a successful executable.

It seems that many of us disagree, and nobody has agreed with you.  Do you
have a citation?

The C standard specifies the behavior of library functions.  If the
compiler knows how to provide this behavior without actually calling into
the system C library, it is allowed to.  Both are parts of the
implementation.

Jason


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