This is the mail archive of the 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][RFC] Change interface of allocate{,64}_array

On Sun, Dec 10, 2006 at 03:50:57PM +0100, Richard Guenther wrote:

> This is a prototype for conversion of the allocator library interface
> to return a pointer to the allocated memory and to not pass the old
> pointer per reference.
> Prototype because it only changes allocate{,64}_array

If you're about to do it, I would definitely suggest doing allocate
and allocate64 as well, so we get the same treatment for pointers.

> and because it
> doesn't address the fact that this changes the library ABI (we might
> sneak this into 4.2 where we bump the library version, for a
> symbol-versioning compatible change we'd need to change the symbol
> name and continue to provide the old interface).

The 4.2 API hasn't been completely settled yet, so I don't see
this as a problem.  If somebody else thinks otherwise, please
speak up :-)

> Bootstrapped and tested on x86_64-unknown-linux-gnu.  I put this
> change on the Polyhedron tester together with the sincos patches
> for tonight.

The results should be quite interesting.


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