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


"Joseph S. Myers" <jsm@polyomino.org.uk> writes:

| On Sun, 9 Nov 2003, Andreas Jaeger wrote:
| 
| > We do have -fno-builtins and e.g. -fno-builtin-sin and there could be
| > also a -fno-builtin-malloc for such cases.  
| 
| There already is!  (It will disable the built-in malloc attribute on
| malloc, i.e. the assumption that it returns unaliased pointers, but e.g.

Non-aliasing is part of the semantics of the result of malloc, but
that is not all about malloc.  Of course, I do not propose to drop the
non-aliasing knowledge. 

| glibc headers also explicitly specify this attribute.) 

well, glibc is not the only library out there that provides memory
allocation.  We should not discuss this issue as if glibc is the only
GCC target.

-- Gaby


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