1 /* { dg-do compile } */ 2 /* { dg-options "-fgnu-tm -O" } */ 3 4 int global; 5 int george; 6 7 extern crap() __attribute__((transaction_unsafe)); 8 foo()9 foo() 10 { 11 __transaction_relaxed { 12 global++; 13 crap(); 14 george++; 15 } 16 } 17