[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / vector-1.c
blob2dc43b0a5177a906a0c452758eb72e50a0ecd1cd
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O3" } */
4 /* On x86-64, the vectorizer creates V2DI uses which we must handle.
5 Similarly for other vector architectures. */
7 void ** newElements;
9 __attribute__((transaction_safe))
10 long
11 TMqueue_push (void** queuePtr)
13 long src;
14 for (src = 1; src < 9; src++) {
15 newElements[src+1] = queuePtr[src];
17 return 1;