]> 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>
Fri, 22 Jan 2016 16:13:08 +0000 (14:13 -0200)
Some extraneous semicolons were included in a
recent patch which causes a build failure with
newer compilers.

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

index e0243c7d94b92fcea73c7992db4a579170181f22..b07621be9e3582d7da437ac19644bb010fafd889 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * sysdeps/nios2/libm-test-ulps: Update.
index 16b2237fccf0f67c833e1c0377193d7cef4ebf66..29cda8a74115a83409d763166674b5da43a519ca 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