1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O" } */
3 
4 extern __attribute__((transaction_safe)) void TMreleaseNode ();
5 
6 int global;
7 
8 __attribute__((transaction_safe))
9 void
TMrbtree_insert()10 TMrbtree_insert ()
11 {
12   if (global)
13     TMreleaseNode();
14 }
15