powerpc: Fix macro usage of htm builtins

Some extraneous semicolons were included in a
recent patch which causes a build failure with
newer compilers.
This commit is contained in:
Paul E. Murphy 2016-01-20 10:33:19 -06:00 committed by Tulio Magno Quites Machado Filho
parent fba91f1232
commit af8ea0f449
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
semicolon.
(__libc_tend): Likewise.
(__libc_tabort): Likewise.
2016-01-22 Chung-Lin Tang <cltang@codesourcery.com> 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
* sysdeps/nios2/libm-test-ulps: Update. * sysdeps/nios2/libm-test-ulps: Update.

View File

@ -128,9 +128,9 @@
# ifdef __TM_FENCE__ # ifdef __TM_FENCE__
/* New GCC behavior. */ /* New GCC behavior. */
# define __libc_tbegin(R) __builtin_tbegin (R); # define __libc_tbegin(R) __builtin_tbegin (R)
# define __libc_tend(R) __builtin_tend (R); # define __libc_tend(R) __builtin_tend (R)
# define __libc_tabort(R) __builtin_tabort (R); # define __libc_tabort(R) __builtin_tabort (R)
# else # else
/* Workaround an old GCC behavior. Earlier releases of GCC 4.9 and 5.0, /* Workaround an old GCC behavior. Earlier releases of GCC 4.9 and 5.0,
didn't use to treat __builtin_tbegin, __builtin_tend and didn't use to treat __builtin_tbegin, __builtin_tend and