This is the mail archive of the gcc@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: malloc attributes and realloc


The purpose of GCC and other development tools is to facilitate
the construction of working software.  Is the optimization facilitated
by alias invalidation sufficient to warrent the non-intuitive
programming complexities caused by that malloc-like attribute?
The answer is, "No."  It is inconceivable that any performance
improvement will be measurable.  It is highly likely that it would
cause programs/programmers to stumble.  I think it would drive
more people into turning off alias analysis completely.


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