]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/26607 (Illegal inlined assembler on config/rs6000/darwin-ldouble.c)
authorAlan Modra <amodra@bigpond.net.au>
Thu, 23 Mar 2006 22:23:24 +0000 (22:23 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 23 Mar 2006 22:23:24 +0000 (08:53 +1030)
PR target/26607
* config/rs6000/darwin-ldouble.c: Don't compile when __NO_FPRS__
or __LITTLE_ENDIAN__.

From-SVN: r112334

gcc/ChangeLog
gcc/config/rs6000/darwin-ldouble.c

index 9079462731f8c7d0fdaa20962d0673d0594fdf68..a43f4f89876bfd333263fb28f3b9447f78474c74 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-24  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/26607
+       * config/rs6000/darwin-ldouble.c: Don't compile when __NO_FPRS__
+       or __LITTLE_ENDIAN__.
+
 2006-03-23  J"orn Rennecke <joern.rennecke@st.com>
 
        * config/sh/divtab-sh4.c, config/sh/divcost-analysis: New files.
index 08ff351d52c0a29fe5457bde7831249a1c6d57ed..356bc18b57eae390345f93a2f5affd406b6d66d5 100644 (file)
@@ -49,7 +49,8 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
 
    This code currently assumes big-endian.  */
 
-#if !_SOFT_FLOAT && (defined (__MACH__) || defined (__powerpc64__) || defined (__powerpc__) || defined (_AIX))
+#if (!defined (__NO_FPRS__) && !defined (__LITTLE_ENDIAN__) \
+     && (defined (__MACH__) || defined (__powerpc__) || defined (_AIX)))
 
 #define fabs(x) __builtin_fabs(x)
 #define isless(x, y) __builtin_isless (x, y)