comparison gcc/testsuite/gcc.dg/tm/asm-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O1" } */
3
4 static inline void asmfunc()
5 {
6 __asm__("");
7 }
8
9 __attribute__((transaction_callable))
10 void push()
11 {
12 asmfunc();
13 }