aboutsummaryrefslogtreecommitdiff
path: root/libitm/testsuite
AgeCommit message (Collapse)Author
2012-03-16lib{gomp,itm}/testsuite: load missing fortran-modules.expBernhard Reutner-Fischer
libgomp/ChangeLog 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * testsuite/lib/libgomp.exp: load fortran-modules.exp libitm/ChangeLog 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * testsuite/lib/libitm.exp: load fortran-modules.exp git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@185460 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-13gcc/Eric Botcazou
* gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm. (GTM_SELF_SPECS): Define if not already defined. (driver_self_specs): Add GTM_SELF_SPECS. * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm. (GTM_SELF_SPECS): Define. * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise. * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise. libitm/ * configure.ac (link_itm): Fix comment. * configure: Regenerate. * testsuite/lib/libitm.exp: Do not pass -litm for the link. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@184174 138bc75d-0d04-0410-961f-82ee72b054a4
2012-01-31Link C++ tests with -shared-libgcc (PR libitm/51822)Rainer Orth
PR libstdc++/51296 * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc. Correct libgomp references. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@183754 138bc75d-0d04-0410-961f-82ee72b054a4
2012-01-23Clear hardware capabilities on libitm.so with Sun ldRainer Orth
* clearcap.map: New file. * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test. * configure.ac: Call it. Clear HWCAP_LDFLAGS if defaulting to -mavx. * Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS) * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@183430 138bc75d-0d04-0410-961f-82ee72b054a4
2012-01-17Skip static_ctor.C test (PR libitm/51173)Rainer Orth
PR libitm/51173 * testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove include, exclude options. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@183253 138bc75d-0d04-0410-961f-82ee72b054a4
2012-01-13libitm: Filter out undo writes that overlap with the libitm stack.Torvald Riegel
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@183172 138bc75d-0d04-0410-961f-82ee72b054a4
2012-01-05 PR other/51171Aldy Hernandez
* testsuite/libitm.c/reentrant.c: Remove xfail. (thread): Pass x to pure(). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@182911 138bc75d-0d04-0410-961f-82ee72b054a4
2011-11-22config:Iain Sandoe
* weakref.m4: New file. libitm: * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF. * alloc_cpp.cc: Generate dummy functions if we don't HAVE_ELF_STYLE_WEAKREF. * eh_cpp.cc: Likewise. * configure: Regenerate. * aclocal.m4: Likewise. * config.h.in: Likewise. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181618 138bc75d-0d04-0410-961f-82ee72b054a4
2011-11-22libitm:Iain Sandoe
* testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling. * testsuite/libitm.c/memset-1.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181611 138bc75d-0d04-0410-961f-82ee72b054a4
2011-11-14Check ia32 instead of ilp32.H.J. Lu
2011-11-14 H.J. Lu <hongjiu.lu@intel.com> * testsuite/lib/libitm.exp: Check ia32 instead of ilp32. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181360 138bc75d-0d04-0410-961f-82ee72b054a4
2011-11-10libitm port to Tru64 UNIXRainer Orth
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181262 138bc75d-0d04-0410-961f-82ee72b054a4
2011-11-09libitm: Remove unused code.Richard Henderson
In particular, unused code that's presenting portability problems. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181241 138bc75d-0d04-0410-961f-82ee72b054a4
2011-11-08Merge from transactional-memory branch.Aldy Hernandez
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181154 138bc75d-0d04-0410-961f-82ee72b054a4