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

Jason Merrill jason@redhat.com
Mon Nov 10 18:22:00 GMT 2003


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



More information about the Gcc-patches mailing list