aboutsummaryrefslogtreecommitdiff
path: root/libitm/testsuite/libitm.c
AgeCommit message (Collapse)AuthorFilesLines
2016-01-16libitm: Ensure proxy privatization safety.Torvald Riegel1-0/+116
* method-gl.cc (gl_wt_dispatch::trycommit): Ensure proxy privatization safety. * method-ml.cc (ml_wt_dispatch::trycommit): Likewise. * libitm/testsuite/libitm.c/priv-1.c: New. From-SVN: r232469
2015-11-22libitm: Fix recent changes to allocations log.Torvald Riegel1-0/+17
libitm/ * libitm_i.h (gtm_alloc_action): Remove union. * testsuite/libitm.c/alloc-1.c: New. From-SVN: r230727
2015-01-15Make test2/test1 static in libitm.c/stackundo.cH.J. Lu1-2/+2
libitm.c/stackundo.c fails with -fpic since test1 and test2 may be preempted with -fpic. This patch makes those 2 functions static. PR libitm/64360 * libitm.c/stackundo.c (test2): Make it static. (test1): Likewise. From-SVN: r219673
2014-10-06memcpy-1.c: Declare getpagesize.Marek Polacek2-0/+2
* testsuite/libitm.c/memcpy-1.c: Declare getpagesize. * testsuite/libitm.c/memset-1.c: Likewise. From-SVN: r215931
2013-06-20libitm.exp: Reorder lib loads into dependency order.Iain Sandoe1-0/+1
2013-06-20 Iain Sandoe <iain@codesourcery.com> Cesar Philippidis <cesar@codesourcery.com> * testsuite/lib/libitm.exp: Reorder lib loads into dependency order. Do not load_gcc_lib gcc-dg.exp and add a comment as to why. * testsuite/libitm.c/c.exp: load_gcc_lib gcc-dg.exp. * testsuite/libitm.c++/c++.exp: load_gcc_lib gcc-dg.exp. Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com> From-SVN: r200252
2012-01-13libitm: Filter out undo writes that overlap with the libitm stack.Torvald Riegel1-0/+23
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-05re PR libitm/51171 (XFAIL: libitm.c/reentrant.c execution test)Aldy Hernandez1-2/+2
PR other/51171 * testsuite/libitm.c/reentrant.c: Remove xfail. (thread): Pass x to pure(). From-SVN: r182911
2011-11-22memcpy-1.c: Allow for MAP_ANON spelling.Iain Sandoe2-0/+12
libitm: * testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling. * testsuite/libitm.c/memset-1.c: Likewise. From-SVN: r181611
2011-11-10libitm port to Tru64 UNIXRainer Orth4-0/+8
* config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use .hidden. (.note.GNU-stack): Only use if __linux__. * alloc_cpp.cc [!__osf__] (_ZnaXRKSt9nothrow_t): Dummy function. * testsuite/libitm.c/notx.c: Use dg-options "-pthread". * testsuite/libitm.c/reentrant.c: Likewise. * testsuite/libitm.c/simple-2.c: Likewise. * testsuite/libitm.c/txrelease.c: Likewise. * testsuite/libitm.c++/static_ctor.C: Likewise. From-SVN: r181262
2011-11-08Merge from transactional-memory branch.Aldy Hernandez12-0/+645
From-SVN: r181154