Debian Codegraph @

gcc/testsuite/gcc.dg/tm/pr53850.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O3" } */
3
4 unsigned char pp[100];
5
6 void
7 foo (void)
8 {
9 int i;
10 __transaction_atomic
11 {
12 for (i = 0; i < 100; ++i)
13 pp[i] = 0x33;
14 }
15 }