1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O -fdump-tree-tmedge --param tm-max-aggregate-size=1" } */
4 struct large
{ int x
[100]; };
6 extern int test (void) __attribute__((transaction_safe
));
7 extern int readint (void);
13 struct large lala
= bark();
14 __transaction_atomic
{
16 lala
= lacopy
; /* Aggregate instrumentation. */
21 /* { dg-final { scan-tree-dump-times "memcpyRtWn \\\(.*, &lacopy" 1 "tmedge" } } */