From patchwork Wed Jan 20 16:33:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. Murphy" X-Patchwork-Id: 10485 Received: (qmail 60940 invoked by alias); 20 Jan 2016 17:01:25 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 60914 invoked by uid 89); 20 Jan 2016 17:01:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Hx-languages-length:1147, 2.4.3, htm, 243 X-HELO: e38.co.us.ibm.com X-IBM-Helo: d03dlp03.boulder.ibm.com X-IBM-MailFrom: murphyp@linux.vnet.ibm.com X-IBM-RcptTo: libc-alpha@sourceware.org From: "Paul E. Murphy" Subject: [PATCH] Fix ppc macro usage of htm builtins To: "libc-alpha@sourceware.org" , Carlos Eduardo Seo , Adhemerval Zanella Cc: Tulio Magno Quites Machado Filho Message-ID: <569FB6CF.3070401@linux.vnet.ibm.com> Date: Wed, 20 Jan 2016 10:33:19 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16012016-0029-0000-0000-00000FC99579 Some extraneous semicolons were included in a recent patch which causes a build failure with newer compilers. 2016-01-19 Paul E. Murphy * sysdeps/unix/sysv/linux/powerpc/htm.h: (__libc_tbegin): Remove semicolon. (__libc_tend): Likewise. (__libc_tabort): Likewise. --- sysdeps/unix/sysv/linux/powerpc/htm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/powerpc/htm.h b/sysdeps/unix/sysv/linux/powerpc/htm.h index 16b2237..29cda8a 100644 --- a/sysdeps/unix/sysv/linux/powerpc/htm.h +++ b/sysdeps/unix/sysv/linux/powerpc/htm.h @@ -128,9 +128,9 @@ # 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