libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / 20100125.c
blob26bd893ec4e241566e829f50a2160ce124398529
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O -fdump-tree-tmmark" } */
4 /* Test that the call to george() doesn't end up inside the transaction. */
6 void george (void);
7 int trxn;
9 void set_remove(int * val)
11 __transaction_atomic {
12 trxn = 5;
14 george();
17 /* { dg-final { scan-tree-dump-times "getTMCloneOrIrrevocable" 0 "tmmark" } } */