gcc/libitm/config
Torvald Riegel 07b6642b93 libitm: Filter out undo writes that overlap with the libitm stack.
PR libitm/51855
	* config/generic/tls.h (GTM::mask_stack_top): New.
	(GTM::mask_stack_bottom): Declare.
	* config/generic/tls.c (GTM::mask_stack_bottom): New.
	* local.cc (gtm_undolog::rollback): Filter out any updates that
	overlap the libitm stack.  Add current transaction as parameter.
	* libitm_i.h (GTM::gtm_undolog::rollback): Adapt.
	* beginend.cc (GTM::gtm_thread::rollback): Adapt.
	* testsuite/libitm.c/stackundo.c: New test.

From-SVN: r183172
2012-01-13 23:45:06 +00:00
..
alpha libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
arm arm-linux: Add libitm support. 2011-12-14 19:24:05 -08:00
generic libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
linux libitm: PowerPC support. 2012-01-05 13:36:35 -08:00
posix libitm: Fix privatization safety during upgrades to serial mode. 2011-12-24 01:42:35 +00:00
powerpc libitm: PowerPC support. 2012-01-05 13:36:35 -08:00
sh configure.tgt: Add sh* case. 2011-12-17 03:19:40 +00:00
x86 libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00