diff options
author | Torvald Riegel <triegel@redhat.com> | 2012-01-13 23:45:06 +0000 |
---|---|---|
committer | Torvald Riegel <torvald@gcc.gnu.org> | 2012-01-13 23:45:06 +0000 |
commit | 07b6642b935e1cd499a2aae071db06d845e39a8b (patch) | |
tree | 8ed0df69ae3d1543fa4811e7cb7e72a8d99333b5 /gcc/tree.h | |
parent | 4cce1836bde85844781736f0f87b51ae9393da5f (diff) | |
download | gcc-07b6642b935e1cd499a2aae071db06d845e39a8b.zip gcc-07b6642b935e1cd499a2aae071db06d845e39a8b.tar.gz gcc-07b6642b935e1cd499a2aae071db06d845e39a8b.tar.bz2 |
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
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions