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: PR 57779 New debug check

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/
                  from /nasfarm/edelsohn/src/src/libstdc++-v3/src/c++11/
/tmp/20130801/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/debug/functions.h: In
function 'bool __gnu_debug::__foreign_iterator_aux4(const __gnu_debug::_Safe_ite
rator<_Iterator, _Sequence>&, _InputIterator, _PointerType1, _PointerType2)':
6: error: 'addressof' is not a member of 'std'
This is a libstdc++ bug.  The file debug/functions.h is missing the inclusion of

By the way, looking at the code, I think the local objects __l and __ge should
be declared constexpr.  That is not required, but it is good to annotate places
where the code is conceptually "pure".

I'll fix these issues momentarily.


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