aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1999-02-11 14:48:43 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>1999-02-11 14:48:43 +0000
commitd86037fab0f7f13fec04a64dacaeeec2d31fc201 (patch)
tree1c264018cc5a8affbe0c3f4200f721e7d75018b4
parentd64ca10053d23b941a5423509e92a55f4017e0e4 (diff)
downloadgcc-d86037fab0f7f13fec04a64dacaeeec2d31fc201.zip
gcc-d86037fab0f7f13fec04a64dacaeeec2d31fc201.tar.gz
gcc-d86037fab0f7f13fec04a64dacaeeec2d31fc201.tar.bz2
i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
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. From-SVN: r25155
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i960/i960.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 60bed9f..82c01b6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index f433b4c..338e680 100644
--- a/gcc/config/i960/i960.h
+++ b/gcc/config/i960/i960.h
@@ -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__)