c++: reduce unnecessary tree_common
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / hle-xchg-rel-1.c
bloba6bad3335dcc85c615fbb15600fd5a3489406aff
1 /* { dg-do compile } */
2 /* { dg-options "-mhle" } */
3 /* { dg-final { scan-assembler "\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+xchg" } } */
5 int
6 hle_xchg (int *p, int v)
8 return __atomic_exchange_n (p, v, __ATOMIC_RELEASE | __ATOMIC_HLE_RELEASE);