This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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__.

--- 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.  */

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]