Re: PR 57779 New debug check

2013-08-02 Thread Gabriel Dos Reis
On Fri, Aug 2, 2013 at 2:36 AM, Paolo Carlini wrote: > ... applied this. thanks.

Re: PR 57779 New debug check

2013-08-02 Thread Paolo Carlini
... applied this. Thanks, Paolo. // 2013-08-02 Paolo Carlini PR libstdc++/58049 * include/debug/functions.h: Include ; minor formatting changes. (__foreign_iterator_aux4): Declare __l and __ge constexpr. * include/debug/safe_iterator.h

Re: PR 57779 New debug check

2013-08-01 Thread Paolo Carlini
On 08/02/2013 05:02 AM, Gabriel Dos Reis wrote: On Thu, Aug 1, 2013 at 9:42 PM, David Edelsohn wrote: This patch broke bootstrap on AIX and probably many other targets. In file included from /tmp/20130801/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/ debug/safe_sequence.h:34:0,

Re: Re: PR 57779 New debug check

2013-08-01 Thread Gabriel Dos Reis
On Thu, Aug 1, 2013 at 9:42 PM, David Edelsohn wrote: > This patch broke bootstrap on AIX and probably many other targets. > > In file included from > /tmp/20130801/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/ > debug/safe_sequence.h:34:0, > from > /nasfarm/edelsohn/src/src/libs

Re: Re: PR 57779 New debug check

2013-08-01 Thread David Edelsohn
This patch broke bootstrap on AIX and probably many other targets. In file included from /tmp/20130801/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/ debug/safe_sequence.h:34:0, from /nasfarm/edelsohn/src/src/libstdc++-v3/src/c++11/debug.cc: 26: /tmp/20130801/powerpc-ibm-aix7.1.0.0/

Re: PR 57779 New debug check

2013-08-01 Thread François Dumont
Attached patch applied. Compare to the proposed one I had to: - Disable the new check for __gnu_debug::basic_string<>, it is supported following Standard words. To do so I had to slithly review how _GLIBCXX_DEBUG_PEDANTIC was managed. - Add check on forward_list::insert_after 2013-08-01 Fran

Re: PR 57779 New debug check

2013-07-31 Thread Paolo Carlini
On 07/31/2013 09:58 PM, François Dumont wrote: Here is another proposal using std::common_type to find out how to instantiate std::less and std::greater_equal. Much easier with C++11 features indeed. Tested under linux x86_64 debug mode. Ok to commit ? Ok, thanks! Paolo.

Re: PR 57779 New debug check

2013-07-31 Thread François Dumont
Here is another proposal using std::common_type to find out how to instantiate std::less and std::greater_equal. Much easier with C++11 features indeed. Tested under linux x86_64 debug mode. Ok to commit ? François On 07/25/2013 12:10 AM, Paolo Carlini wrote: On 07/24/2013 10:41 PM, Fran