This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r167749 - in /branches/transactional-memory/gcc...


Author: aldyh
Date: Mon Dec 13 14:46:31 2010
New Revision: 167749

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167749
Log:
	PR/45940
        * tree.h: Remove prototypes for is_tm_callable, is_tm_irrevocable.
	(is_tm_safe_or_pure): New.
        * trans-mem.c (is_tm_irrevocable): Make static.
        (is_tm_callable): Same.
        (diagnose_tm_1): Use is_tm_safe_or_pure.
        (ipa_tm_note_irrevocable): Same.
        (ipa_tm_mayenterirr_function): Same.
        (ipa_tm_execute): Same.
	(diagnose_tm_blocks): Change is_tm_safe to is_tm_safe_or_pure.
	* integrate.c (function_attribute_inlinable_p): Do not inline TM
	pure functions.

Added:
    branches/transactional-memory/gcc/testsuite/g++.dg/tm/pr45940-2.C
    branches/transactional-memory/gcc/testsuite/g++.dg/tm/pr45940-3.C
    branches/transactional-memory/gcc/testsuite/g++.dg/tm/pr45940-4.C
    branches/transactional-memory/gcc/testsuite/g++.dg/tm/pr45940.C
Modified:
    branches/transactional-memory/gcc/ChangeLog.tm
    branches/transactional-memory/gcc/integrate.c
    branches/transactional-memory/gcc/testsuite/g++.dg/tm/nested-2.C
    branches/transactional-memory/gcc/testsuite/g++.dg/tm/nested-3.C
    branches/transactional-memory/gcc/trans-mem.c
    branches/transactional-memory/gcc/tree.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]