]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc: Fix macro usage of htm builtins
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Wed, 20 Jan 2016 16:33:19 +0000 (10:33 -0600)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Mon, 22 Feb 2016 19:09:08 +0000 (16:09 -0300)
Some extraneous semicolons were included in a
recent patch which causes a build failure with
newer compilers.

(cherry picked from commit af8ea0f449af7d3847351a4a5bafcd435a22ac31)

ChangeLog
sysdeps/unix/sysv/linux/powerpc/htm.h

index 5887ea183c94db53db8a6fd5fa8110c01f395d7c..c0f411ebc42d0c4504f7cd646cbcdf2fc1c4435c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-02-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-02-22  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
 
        * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
index f9a25874ff06bbe4c2f43912bb3dbcf227770e8b..7b4981771099a213edf89c77954cc1650b8f2f6a 100644 (file)
 
 # ifdef __TM_FENCE__
    /* New GCC behavior.  */
-#  define __libc_tbegin(R)  __builtin_tbegin (R);
-#  define __libc_tend(R)    __builtin_tend (R);
-#  define __libc_tabort(R)  __builtin_tabort (R);
+#  define __libc_tbegin(R)  __builtin_tbegin (R)
+#  define __libc_tend(R)    __builtin_tend (R)
+#  define __libc_tabort(R)  __builtin_tabort (R)
 # else
    /* Workaround an old GCC behavior. Earlier releases of GCC 4.9 and 5.0,
       didn't use to treat __builtin_tbegin, __builtin_tend and