This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
mt_allocator.h warning on Tree-SSA AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 01 Apr 2004 14:32:10 -0500
- Subject: mt_allocator.h warning on Tree-SSA AIX
I am seeing an mt_allocator.h warning on AIX when building
Tree-SSA, that I do not see on mainline. I think it is due to better
optimization on Tree-SSA and represents a real issue:
/k42/dje/build/powerpc-ibm-aix5.1.0.0-20040401/powerpc-ibm-aix5.1.0.0/pthread/ppc64/libstdc++-v3/include/ext/mt_allocator.h: In member function `void __gnu_cxx::__mt_alloc<_Tp>::deallocate(_Tp*, size_t) [with _Tp = char]':
/farm/dje/src/tree-ssa/libstdc++-v3/src/allocator.cc:43: instantiated from here
/k42/dje/build/powerpc-ibm-aix5.1.0.0-20040401/powerpc-ibm-aix5.1.0.0/pthread/ppc64/libstdc++-v3/include/ext/mt_allocator.h:440: warning: unused variable 'thread_id'
/k42/dje/build/powerpc-ibm-aix5.1.0.0-20040401/powerpc-ibm-aix5.1.0.0/pthread/ppc64/libstdc++-v3/include/ext/mt_allocator.h: In member function `void __gnu_cxx::__mt_alloc<_Tp>::deallocate(_Tp*, size_t) [with _Tp = wchar_t]':
/farm/dje/src/tree-ssa/libstdc++-v3/src/allocator.cc:44: instantiated from here
/k42/dje/build/powerpc-ibm-aix5.1.0.0-20040401/powerpc-ibm-aix5.1.0.0/pthread/ppc64/libstdc++-v3/include/ext/mt_allocator.h:440: warning: unused variable 'thread_id'
David