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

Subversion Repositories openrisc

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

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 -O -fdump-tree-tmmark" } */
3
 
4
/* Test that the call to george() doesn't end up inside the transaction.  */
5
 
6
int trxn;
7
 
8
void set_remove(int * val)
9
{
10
  __transaction_atomic {
11
      trxn = 5;
12
  }
13
  george();
14
}
15
 
16
/* { dg-final { scan-tree-dump-times "getTMCloneOrIrrevocable" 0 "tmmark" } } */
17
/* { 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.