Remove mistaken commit.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Feb 2012 14:24:40 +0000 (14:24 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Feb 2012 14:24:40 +0000 (14:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184272 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/gcc.dg/tm/pr52141.c [deleted file]
gcc/trans-mem.c

diff --git a/gcc/testsuite/gcc.dg/tm/pr52141.c b/gcc/testsuite/gcc.dg/tm/pr52141.c
deleted file mode 100644 (file)
index c5136f3..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-fgnu-tm -O1" } */
-
-inline void asmfunc(void)
-{
-  __asm__ (""); /* { dg-error "asm not allowed in .transaction_safe" } */
-}
-
-__attribute__((transaction_safe))
-static void f(void)
-{
-  asmfunc();
-}
-
-int main()
-{
-  __transaction_atomic {
-    f();
-  }
-  return 0;
-}
index b7320b5..d760db3 100644 (file)
@@ -3736,10 +3736,6 @@ ipa_tm_scan_irr_block (basic_block bb)
             assembly statement is not relevant to the transaction
             is to wrap it in a __tm_waiver block.  This is not
             yet implemented, so we can't check for it.  */
-         if (is_tm_safe (current_function_decl))
-           error_at (gimple_location (stmt),
-                     "asm not allowed in %<transaction_safe%> function %qE",
-                     current_function_decl);
          return true;
 
        default: