OSDN Git Service

Thu Feb 11 17:38:40 1999 Jim Wilson <wilson@cygnus.com>
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 1999 14:48:43 +0000 (14:48 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 1999 14:48:43 +0000 (14:48 +0000)
* i960/i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
(LONG_DOUBLE_TYPE_SIZE): Undef then unconditionally define to 96.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25155 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i960/i960.h

index 60bed9f..82c01b6 100644 (file)
@@ -1,3 +1,8 @@
+Thu Feb 11 17:38:40 1999  Jim Wilson  <wilson@cygnus.com>
+
+       * i960/i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
+       (LONG_DOUBLE_TYPE_SIZE): Undef then unconditionally define to 96.
+
 Thu Feb 11 15:11:35 1999  Jeffrey A Law  (law@cygnus.com)
 
        * mn10200.md (bset); Re-enable.
index f433b4c..338e680 100644 (file)
@@ -321,6 +321,9 @@ extern int target_flags;
       flag_signed_char = 1;                                    \
       target_flags |= TARGET_FLAG_CLEAN_LINKAGE;               \
     }                                                          \
+  /* ??? See the LONG_DOUBLE_TYPE_SIZE definition below.  */   \
+  if (TARGET_LONG_DOUBLE_64)                                   \
+    warning ("The -mlong-double-64 option does not work yet.", 0);\
   i960_initialize ();                                          \
 }
 
@@ -369,6 +372,10 @@ extern int target_flags;
    ROUND_TYPE_ALIGN adjust the alignment for speed. */
 #define        LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_64 ? 64 : 96)
 
+/* ??? This must be a constant, because real.c and real.h test it with #if.  */
+#undef LONG_DOUBLE_TYPE_SIZE
+#define LONG_DOUBLE_TYPE_SIZE 96
+
 /* Define this to set long double type size to use in libgcc2.c, which can
    not depend on target_flags.  */
 #if defined(__LONG_DOUBLE_64__)