PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / debug-1.c
blob43516542a314aca32e7d4bff858670622d124429
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O0 -fdump-tree-tmmark-lineno" } */
4 /* Test that instrumented statements have correct location info. */
6 int a,b, c, z;
8 void testing(){
9 c=9;
12 int main() {
13 b = 9898;
14 __transaction_relaxed {
15 z = c;
16 a = 888;
17 testing();
19 return 0;
22 /* { dg-final { scan-tree-dump-times ":13:.*b = 9898" 1 "tmmark" } } */
23 /* { dg-final { scan-tree-dump-times ":14:.*_ITM_beginTransaction" 1 "tmmark" } } */
24 /* { dg-final { scan-tree-dump-times ":15:.*ITM_WU. \\(&z" 1 "tmmark" } } */
25 /* { dg-final { scan-tree-dump-times ":16:.*ITM_WU. \\(&a" 1 "tmmark" } } */