URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [pr51472.c] - Rev 706
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-fgnu-tm -O --param tm-max-aggregate-size=32" } */ /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ typedef int __attribute__ ((vector_size (16))) vectype; vectype v; void foo (int c) { vectype *p = __builtin_malloc (sizeof (vectype)); __transaction_atomic { *p = v; if (c) __transaction_cancel; } }
Go to most recent revision | Compare with Previous | Blame | View Log