From d36402d9f0e6928949f9da8273859fdc5fe7b286 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sun, 15 Nov 2015 00:17:43 +0000 Subject: [PATCH] remove EXTENDED_SDB_BASIC_TYPES The last target using this was i960, which was removed many years ago, so there's no reason to keep it. gcc/ChangeLog: 2015-11-14 Trevor Saunders * gsyms.h (enum sdb_type): Remove code for EXTENDED_SDB_BASIC_TYPES. (enum sdb_masks): Likewise. * sdbout.c (plain_type_1): Likewise. * system.h: Poison EXTENDED_SDB_BASIC_TYPES macro. From-SVN: r230389 --- gcc/ChangeLog | 8 ++++++++ gcc/gsyms.h | 11 ----------- gcc/sdbout.c | 6 +----- gcc/system.h | 2 +- 4 files changed, 10 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69a3044dfa3..62cbbcd491a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2015-11-14 Trevor Saunders + + * gsyms.h (enum sdb_type): Remove code for + EXTENDED_SDB_BASIC_TYPES. + (enum sdb_masks): Likewise. + * sdbout.c (plain_type_1): Likewise. + * system.h: Poison EXTENDED_SDB_BASIC_TYPES macro. + 2015-11-14 Jakub Jelinek * omp-low.c (lower_omp_ordered): Add argument to GOMP_SMD_ORDERED_* diff --git a/gcc/gsyms.h b/gcc/gsyms.h index 608ff1ecba1..0c458bb8208 100644 --- a/gcc/gsyms.h +++ b/gcc/gsyms.h @@ -74,9 +74,6 @@ enum sdb_type T_USHORT = 13, T_UINT = 14, T_ULONG = 15 -#ifdef EXTENDED_SDB_BASIC_TYPES - , T_LNGDBL = 16 -#endif }; enum sdb_type_class @@ -89,19 +86,11 @@ enum sdb_type_class enum sdb_masks { -#ifdef EXTENDED_SDB_BASIC_TYPES - N_BTMASK = 0x1f, - N_TMASK = 0x60, - N_TMASK1 = 0x300, - N_TMASK2 = 0x360, - N_BTSHFT = 5, -#else N_BTMASK = 017, N_TMASK = 060, N_TMASK1 = 0300, N_TMASK2 = 0360, N_BTSHFT = 4, -#endif N_TSHIFT = 2 }; diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 7964059db3a..e495a8aa0bc 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -516,13 +516,9 @@ plain_type_1 (tree type, int level) return T_FLOAT; if (precision == DOUBLE_TYPE_SIZE) return T_DOUBLE; -#ifdef EXTENDED_SDB_BASIC_TYPES - if (precision == LONG_DOUBLE_TYPE_SIZE) - return T_LNGDBL; -#else if (precision == LONG_DOUBLE_TYPE_SIZE) return T_DOUBLE; /* better than nothing */ -#endif + return 0; } diff --git a/gcc/system.h b/gcc/system.h index f9c7e2a6128..ed3de9f1c7f 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -967,7 +967,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; TARGET_HANDLE_PRAGMA_EXTERN_PREFIX \ TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN \ TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD \ - TARGET_MD_ASM_CLOBBERS TARGET_RELAXED_ORDERING + TARGET_MD_ASM_CLOBBERS TARGET_RELAXED_ORDERING EXTENDED_SDB_BASIC_TYPES /* Arrays that were deleted in favor of a functional interface. */ #pragma GCC poison built_in_decls implicit_built_in_decls -- 2.30.2