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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [20091221.c] - Blame information for rev 801

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 -fdump-tree-tmedge" } */
3
 
4
int i;
5
extern void virgin () __attribute__((transaction_pure));
6
 
7
foo()
8
{
9
        __transaction_atomic {
10
            virgin(i);
11
        }
12
}
13
 
14
/* { dg-final { scan-tree-dump-times "readOnly" 1 "tmedge" } } */
15
/* { dg-final { cleanup-tree-dump "tmedge" } } */

powered by: WebSVN 2.1.0

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