]> 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)
committerMike Frysinger <vapier@gentoo.org>
Mon, 7 Mar 2016 16:45:09 +0000 (11:45 -0500)
Some extraneous semicolons were included in a
recent patch which causes a build failure with
newer compilers.

(cherry picked from commit af8ea0f449af7d3847351a4a5bafcd435a22ac31)
(cherry picked from commit a33d347c181cfa0d84c37e9961ebf030495ed248)

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

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