sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): For -msoft-float -mlong-double-128 only issue...
authorJakub Jelinek <jakub@redhat.com>
Wed, 1 Feb 2006 22:21:43 +0000 (23:21 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 1 Feb 2006 22:21:43 +0000 (23:21 +0100)
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): For
-msoft-float -mlong-double-128 only issue a warning, but don't
swich to DFmode long double.

From-SVN: r110484

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index fb24b92..664fbf4 100644 (file)
@@ -1,3 +1,9 @@
+2006-02-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): For
+       -msoft-float -mlong-double-128 only issue a warning, but don't
+       swich to DFmode long double.
+
 2006-02-01  Hans-Peter Nilsson  <hp@axis.com>
 
        * cse.c (fold_rtx) <case RTX_COMM_COMPARE, RTX_COMPARE>: When arg1
index 2ed454a..3c8462f 100644 (file)
@@ -215,12 +215,9 @@ do {                                                                       \
       error ("-msecure-plt not supported by your assembler");          \
     }                                                                  \
                                                                        \
-  if (TARGET_SOFT_FLOAT && TARGET_LONG_DOUBLE_128)                     \
-    {                                                                  \
-      rs6000_long_double_type_size = 64;                               \
-      if (rs6000_explicit_options.long_double)                         \
-       warning (0, "soft-float and long-double-128 are incompatible"); \
-    }                                                                  \
+  if (TARGET_SOFT_FLOAT && TARGET_LONG_DOUBLE_128                      \
+      && rs6000_explicit_options.long_double)                          \
+    warning (0, "-msoft-float and -mlong-double-128 not supported");   \
                                                                        \
   /* Treat -fPIC the same as -mrelocatable.  */                                \
   if (flag_pic > 1 && DEFAULT_ABI != ABI_AIX)                          \