Re: profile mode fix

2014-01-30 Thread François Dumont
On 01/29/2014 09:18 PM, Jonathan Wakely wrote: On 29 January 2014 20:06, François Dumont frs.dum...@gmail.com wrote: Here is the patch that simply consider 55083 as not supported except in normal mode. This is a temporary workaround for 4.9 release so I prefer not to introduce a

Re: profile mode fix

2014-01-29 Thread Jonathan Wakely
On 29 January 2014 20:06, François Dumont frs.dum...@gmail.com wrote: Here is the patch that simply consider 55083 as not supported except in normal mode. This is a temporary workaround for 4.9 release so I prefer not to introduce a dg-profile-mode-unsupported or something like that. Those

Re: profile mode fix

2014-01-27 Thread François Dumont
Indeed, default constructor and copy constructor shall not be noexcept qualified. IMO we should be able to make move constructor noexcept by using a special allocator for the underlying unordered_map that would allow to replace an entry with an other one without requiring a

profile mode fix

2014-01-26 Thread François Dumont
Hi This is a patch to fix PR 55033 in profile mode. Like in debug mode it was missing noexcept qualifier on move constructor. 2014-01-26 François Dumont fdum...@gcc.gnu.org PR libstdc++/55083 * include/profile/unordered_base.h (_Unordered_profile()): Add noexcept qualifier.

Re: profile mode fix

2014-01-26 Thread Jonathan Wakely
On 26 January 2014 09:43, François Dumont wrote: Hi This is a patch to fix PR 55033 in profile mode. Like in debug mode it was missing noexcept qualifier on move constructor. But don't those functions allocate memory? So they can throw. I agree we want the move constructor to be noexcept

Tree containers profile mode fix

2014-01-15 Thread François Dumont
Hi Here is a patch to fix profile mode compilation errors. It makes tree based containers C++11 allocator aware in profile mode as they are in normal mode. I also try to use default implementation as much as possible to benefit from the normal mode noexcept qualifications on the

Re: Tree containers profile mode fix

2014-01-15 Thread Jonathan Wakely
On 15 January 2014 16:59, François Dumont wrote: Hi Here is a patch to fix profile mode compilation errors. It makes tree based containers C++11 allocator aware in profile mode as they are in normal mode. I also try to use default implementation as much as possible to benefit from the