Avoid repeated calls to temporarily_undo_changes [PR117297]
[official-gcc.git] / gcc / testsuite / c-c++-common / tm / inline-asm.c
blob176266893e9d5986cae52944867d7ef572dc1c5d
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O1 -fno-ipa-modref -fno-ipa-pure-const" } */
4 static inline void
5 inline_death ()
7 __asm__ (""); /* { dg-error "'asm' not allowed" } */
10 void
11 tranfunction ()
13 __transaction_atomic
15 inline_death ();