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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [nested-2.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" } */
3
 
4
void foobar(void)
5
{
6
    __transaction_atomic {
7
       foobar();
8
    }
9
}
10
 
11
void doit(void) __attribute__((transaction_safe));
12
 
13
__attribute__((transaction_callable))
14
void callable(void)
15
{
16
  __transaction_atomic {
17
    doit();
18
  }
19
}

powered by: WebSVN 2.1.0

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