diff mbox

Fix a typo in ppc libgcc (PR target/69444)

Message ID 20160125203452.GO3017@tucnak.redhat.com
State New
Headers show

Commit Message

Jakub Jelinek Jan. 25, 2016, 8:34 p.m. UTC
Hi!

The soft-fp multilib of powerpc libgcc doesn't build because of a typo
in the conditional - the guarded code uses inline asm that assumes hard
float.

Ok for trunk?

2016-01-25  Jakub Jelinek  <jakub@redhat.com>

	PR target/69444
	* config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
	instead of ___NO_FPRS__.


	Jakub

Comments

David Edelsohn Jan. 25, 2016, 9:19 p.m. UTC | #1
On Mon, Jan 25, 2016 at 3:34 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> The soft-fp multilib of powerpc libgcc doesn't build because of a typo
> in the conditional - the guarded code uses inline asm that assumes hard
> float.
>
> Ok for trunk?
>
> 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
>
>         PR target/69444
>         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
>         instead of ___NO_FPRS__.

Okay.

Thanks, David
diff mbox

Patch

--- libgcc/config/rs6000/sfp-machine.h.jj	2016-01-21 21:27:57.000000000 +0100
+++ libgcc/config/rs6000/sfp-machine.h	2016-01-25 11:45:48.093285428 +0100
@@ -110,7 +110,7 @@  typedef int __gcc_CMPtype __attribute__
    floating point on pre-ISA 3.0 machines without the IEEE 128-bit floating
    point support.  */
 
-#ifndef ___NO_FPRS__
+#ifndef __NO_FPRS__
 #define ISA_BIT(x) (1LL << (63 - x))
 
 /* Use the same bits of the FPSCR.  */