PR/51443
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 17:49:55 +0000 (17:49 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 17:49:55 +0000 (17:49 +0000)
commit40879ac688ceebe14852be576c3c2e140795a971
tree89273e22c9ce249019e6e3514fc2903fb218f70a
parent46cd64edd1143f0e5edd1acfa53344c0bdf1af5d
    PR/51443
        * trans-mem.c (struct diagnose_tm): Remove saw_unsafe.
        (diagnose_tm_1): Same.
        (ipa_tm_execute): Do not test tm_may_enter_irr before we set it.
        (ipa_tm_scan_irr_function): Return gracefully when no
        DECL_STRUCT_FUNCTION.
        (ipa_tm_scan_irr_block): Believe the user on TM attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182290 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/g++.dg/tm/asm-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tm/asm-1.c [new file with mode: 0644]
gcc/trans-mem.c