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: [PATCH] add alloc_size attribute


On Wednesday, 25. April 2007, Attila Feher F (JO/LMF) wrote:

> I see that you plan to provide alignment support into the memory
> allocation system of C and C++.  This is what I wrote to Benjamin:

Hmm? no. it doesn't have anything to do about alignment of memory allocations. 
this is about annotating the size of the returned pointer so that gcc can do 
better warnings (possibly even code optimisations) due to the additional 
information. I'm not aware of any proposed or existing standard that would be 
duplicated here. 


Dirk


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