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


Daniel Jacobowitz <drow@mvista.com> writes:

[...]

| The implementation provides malloc; GCC is merely a part of the
| implementation.  We already assume a conforming library for many
| optimizations; glibc doesn't provide strlen either.

Sure, but isn't a tracing malloc a conforming implementation?

| I disagree that the C standard's definition is too weak to allow
| eliding of calls, as-if.  What problems do you see?

The as-fi would apply *if* GCC is the malloc implementation provider.
Currently , it is not,

-- Gaby


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