* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / c-c++-common / tm / cancel-1.c
blob6d60f2648c4467065d2f84c7903151947b2126c7
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
4 void unsafe(void) __attribute__((transaction_unsafe));
6 void
7 f(void)
9 int a;
10 __transaction_atomic {
11 a = 1;
12 __transaction_atomic {
13 __transaction_cancel;
16 unsafe();