Patchwork Fix up _xabort for -O0

login
register
mail settings
Submitter Jakub Jelinek
Date July 16, 2012, 2:45 p.m.
Message ID <20120716144541.GH13077@tucnak.redhat.com>
Download mbox | patch
Permalink /patch/171215/
State New
Headers show

Comments

Jakub Jelinek - July 16, 2012, 2:45 p.m.
Hi!

While backporting, I've noticed there is an extra semicolon that shouldn't
be there in -O0 version of _xabort.  Ok for trunk?

2012-07-16  Jakub Jelinek  <jakub@redhat.com>

	* config/i386/rtmintrin.h (_xabort): Remove trailing semicolon.


	Jakub
Uros Bizjak - July 16, 2012, 2:49 p.m.
On Mon, Jul 16, 2012 at 4:45 PM, Jakub Jelinek <jakub@redhat.com> wrote:

> While backporting, I've noticed there is an extra semicolon that shouldn't
> be there in -O0 version of _xabort.  Ok for trunk?
>
> 2012-07-16  Jakub Jelinek  <jakub@redhat.com>
>
>         * config/i386/rtmintrin.h (_xabort): Remove trailing semicolon.

OK, obvious in fact.

Thanks,
Uros.

Patch

--- gcc/config/i386/rtmintrin.h	2012-03-14 09:39:41.167265085 +0100
+++ gcc/config/i386/rtmintrin.h	2012-07-16 16:41:11.979329061 +0200
@@ -71,7 +71,7 @@  _xabort (const unsigned int imm)
   __builtin_ia32_xabort (imm);
 }
 #else
-#define _xabort(N)  __builtin_ia32_xabort (N);
+#define _xabort(N)  __builtin_ia32_xabort (N)
 #endif /* __OPTIMIZE__ */
 
 #endif /* _RTMINTRIN_H_INCLUDED */