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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [data-2.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" } */
3
/* Test read and write on all basic types.  */
4
 
5
struct S
6
{
7
  int x[10];
8
};
9
 
10
static struct S g;
11
 
12
extern void fill (struct S *);
13
 
14
void f(void)
15
{
16
  struct S l;
17
  fill(&l);
18
 
19
  __transaction_atomic {
20
    g = l;
21
  }
22
}

powered by: WebSVN 2.1.0

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