mt_allocator.h warning on Tree-SSA AIX

David Edelsohn dje@watson.ibm.com
Thu Apr 1 19:32:00 GMT 2004


	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



More information about the Libstdc++ mailing list