* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / 20100524-2.c
bloba3578cb27974bed9e6620a5fb695706e860e0558
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O0" } */
4 typedef struct {
5 int value[5];
6 } type_t;
8 __attribute__((transaction_safe))
9 type_t func_move ();
11 __attribute__((transaction_safe))
12 type_t func_push (int type)
14 type_t trace;
16 if (type == 9)
17 trace = func_move();
19 return trace;