This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r150023 - in /branches/transactional-memory/gcc...
- From: aldyh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 23 Jul 2009 19:03:43 -0000
- Subject: r150023 - in /branches/transactional-memory/gcc...
Author: aldyh
Date: Thu Jul 23 19:03:43 2009
New Revision: 150023
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150023
Log:
* gimple-pretty-print.c (dump_gimple_tm_atomic_subcode): Add space
after every GTMA_*.
* trans-mem.c (is_tm_irrevokable): Return true for direct calls to
the irrevocable builtin.
(lower_sequence_tm): Rename GTMA_HAVE_CALL_IRREVOKABLE into
GTMA_MAY_ENTER_IRREVOKABLE.
(ipa_tm_insert_irr_call): Same.
(expand_call_tm): Early return when is_tm_abort .
Mark as GTMA_HAVE_STORE if the LHS of a call requires a barrier.
(execute_tm_mark): Do not clear the GTMA_MAY_ENTER_IRREVOKABLE.
(ipa_tm_insert_gettmclone_call): Set GTMA_MAY_ENTER_IRREVOKABLE
unless safe.
* gimple.h: Rename GTMA_HAVE_CALL_IRREVOKABLE into
GTMA_MAY_ENTER_IRREVOKABLE.
Add comments for GTMA_*IRREV*.
* c-parser.c (c_parser_tm_abort): Complain if using tm_abort
without TM enabled, and return a NOP_EXPR.
Added:
branches/transactional-memory/gcc/testsuite/gcc.dg/tm/abort-3.c
branches/transactional-memory/gcc/testsuite/gcc.dg/tm/irrevocable-2.c
branches/transactional-memory/gcc/testsuite/gcc.dg/tm/props-2.c
branches/transactional-memory/gcc/testsuite/gcc.dg/tm/props-3.c
Modified:
branches/transactional-memory/gcc/ChangeLog.tm
branches/transactional-memory/gcc/c-parser.c
branches/transactional-memory/gcc/gimple-pretty-print.c
branches/transactional-memory/gcc/gimple.h
branches/transactional-memory/gcc/testsuite/gcc.dg/tm/abort-1.c
branches/transactional-memory/gcc/trans-mem.c