summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/tm/20100609.c
blob: 760f81ec6dd891dfdefffd5b39105d1e6039e3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -O" } */

extern void funcNoReturn() __attribute__ ((__noreturn__));

int later;

void MyFunc()
{
  __transaction_relaxed {
	funcNoReturn();
	later=8;
  }
}
OpenPOWER on IntegriCloud