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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [tm/] [wrap-1.c] - Blame information for rev 688

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

Line No. Rev Author Line
1 686 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -fdump-tree-optimized" } */
3
 
4
void orig(void);
5
void xyzzy(void) __attribute__((transaction_wrap (orig)));
6
 
7
void foo() { __transaction_relaxed { orig (); } }
8
 
9
/* { dg-final { scan-tree-dump-times "xyzzy" 1 "optimized" } } */
10
/* { dg-final { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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