OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [debug-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O0 -fdump-tree-tmmark-lineno" } */
3
 
4
/* Test that instrumented statements have correct location info.  */
5
 
6
int a,b, c, z;
7
 
8
testing(){
9
    c=9;
10
}
11
 
12
main() {
13
        b = 9898;
14
        __transaction_relaxed {
15
                z = c;
16
                a = 888;
17
                testing();
18
        }
19
        return 0;
20
}
21
 
22
/* { dg-final { scan-tree-dump-times ": 13:.*b = 9898" 1 "tmmark" } } */
23
/* { dg-final { scan-tree-dump-times ": 14:.*__transaction" 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" } } */
26
/* { dg-final { cleanup-tree-dump "tmmark" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.