Re: [hsa 9/12] Small alloc-pool fix

2015-11-10 Thread Richard Biener
On Tue, Nov 10, 2015 at 9:47 AM, Martin Liška wrote: > On 11/06/2015 10:57 AM, Richard Biener wrote: >> On Fri, 6 Nov 2015, Martin Liška wrote: >> >>> On 11/06/2015 10:00 AM, Richard Biener wrote: On Thu, 5 Nov 2015, Martin Jambor wrote: > Hi, > > we use C++ new operators bas

Re: [hsa 9/12] Small alloc-pool fix

2015-11-10 Thread Martin Liška
On 11/06/2015 10:57 AM, Richard Biener wrote: > On Fri, 6 Nov 2015, Martin Liška wrote: > >> On 11/06/2015 10:00 AM, Richard Biener wrote: >>> On Thu, 5 Nov 2015, Martin Jambor wrote: >>> Hi, we use C++ new operators based on alloc-pools a lot in the subsequent patches and real

Re: [hsa 9/12] Small alloc-pool fix

2015-11-06 Thread Richard Biener
On Fri, 6 Nov 2015, Martin Liška wrote: > On 11/06/2015 10:00 AM, Richard Biener wrote: > > On Thu, 5 Nov 2015, Martin Jambor wrote: > > > >> Hi, > >> > >> we use C++ new operators based on alloc-pools a lot in the subsequent > >> patches and realized that on the current trunk, such new operators

Re: [hsa 9/12] Small alloc-pool fix

2015-11-06 Thread Martin Liška
On 11/06/2015 10:00 AM, Richard Biener wrote: > On Thu, 5 Nov 2015, Martin Jambor wrote: > >> Hi, >> >> we use C++ new operators based on alloc-pools a lot in the subsequent >> patches and realized that on the current trunk, such new operators >> would needlessly call the placement ::new operator

Re: [hsa 9/12] Small alloc-pool fix

2015-11-06 Thread Richard Biener
On Thu, 5 Nov 2015, Martin Jambor wrote: > Hi, > > we use C++ new operators based on alloc-pools a lot in the subsequent > patches and realized that on the current trunk, such new operators > would needlessly call the placement ::new operator within the allocate > method of pool-alloc. Fixed bel

[hsa 9/12] Small alloc-pool fix

2015-11-05 Thread Martin Jambor
Hi, we use C++ new operators based on alloc-pools a lot in the subsequent patches and realized that on the current trunk, such new operators would needlessly call the placement ::new operator within the allocate method of pool-alloc. Fixed below by providing a new allocation method which does not