Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / pr51472.c
blob67f0557353146238cb094ffd761fc9d930f4b5e2
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O --param tm-max-aggregate-size=32" } */
3 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
5 typedef int __attribute__ ((vector_size (16))) vectype;
6 vectype v;
8 void
9 foo (int c)
11 vectype *p = __builtin_malloc (sizeof (vectype));
12 __transaction_atomic
14 *p = v;
15 if (c)
16 __transaction_cancel;