r232539 - in /trunk/libstdc++-v3: ChangeLog con...

torvald@gcc.gnu.org torvald@gcc.gnu.org
Mon Jan 18 20:09:00 GMT 2016


Author: torvald
Date: Mon Jan 18 20:09:55 2016
New Revision: 232539

URL: https://gcc.gnu.org/viewcvs?rev=232539&root=gcc&view=rev
Log:
libstdc++: Fix usage of __GXX_WEAK__ in TM TS support.

	* include/bits/c++config (_GLIBCXX_USE_WEAK_REF): New.
	(_GLIBCXX_TXN_SAFE, _GLIBCXX_TXN_SAFE_DYN): Use	_GLIBCXX_USE_WEAK_REF
	and move after its definition.
	* config/os/aix/os_defines.h (_GLIBCXX_USE_WEAK_REF): Override.
	* src/c++11/cow-stdexcept.cc: Use _GLIBCXX_USE_WEAK_REF instead of
	__GXX_WEAK__, and only provide transactional clones if
	_GLIBCXX_USE_WEAK_REF is true.  Don't provide stubs of libitm
	functions.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config/os/aix/os_defines.h
    trunk/libstdc++-v3/include/bits/c++config
    trunk/libstdc++-v3/src/c++11/cow-stdexcept.cc



More information about the Libstdc++-cvs mailing list