1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O" } */
4 typedef struct coordinate
{
8 coordinate_t elementPtrC
[3];
10 __attribute__((transaction_safe
))
11 void TMelement_alloc (coordinate_t
* coordinates
, int numCoordinate
)
14 for (i
= 0; i
< numCoordinate
; i
++) {
15 elementPtrC
[i
] = coordinates
[i
];