* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / pr52142.c
blob21d4a0ca13a601b47d42927292924ac897cc0bf7
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O1" } */
3 static int global = 0;
5 __attribute__((transaction_pure))
6 static inline void purefunc()
8 global++;
11 __attribute__((transaction_safe))
12 void f();
14 void push()
16 __transaction_atomic {
17 f();
18 purefunc();
22 /* { dg-final { scan-assembler-not "_ITM_RfWU4" } } */