From e4cbe00203c04fa60bc10398b9f310c3818a9947 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 8 Mar 1999 13:40:08 -0700 Subject: [PATCH] openbsd.h (HANDLE_SYSV_PRAGMA): Define. * config/openbsd.h (HANDLE_SYSV_PRAGMA): Define. * rs6000/xm-sysv4.h (HOST_BITS_PER_LONGLONG): Remove #if 0. * mn10300.h (CASE_DROPS_THROUGH): Delete. * mn10200.h (CASE_DROPS_THROUGH): Delete. * h8300.h (CASE_DROPS_THROUGH): Delete. From-SVN: r25645 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/h8300/h8300.h | 5 ----- gcc/config/mn10200/mn10200.h | 5 ----- gcc/config/mn10300/mn10300.h | 5 ----- gcc/config/openbsd.h | 6 ++++++ gcc/config/rs6000/xm-sysv4.h | 2 -- 6 files changed, 16 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f83b46e2dd..877b1e56a90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 8 18:55:21 1999 Marc Espie + + * config/openbsd.h (HANDLE_SYSV_PRAGMA): Define. + Mon Mar 8 16:04:44 1999 Jim Wilson * local-alloc.c (combine_regs): Don't combine if we have a hard reg @@ -8,6 +12,12 @@ Mon Mar 8 16:04:44 1999 Jim Wilson Mon Mar 8 15:27:42 1999 Jeffrey A Law (law@cygnus.com) + * rs6000/xm-sysv4.h (HOST_BITS_PER_LONGLONG): Remove #if 0. + + * mn10300.h (CASE_DROPS_THROUGH): Delete. + * mn10200.h (CASE_DROPS_THROUGH): Delete. + * h8300.h (CASE_DROPS_THROUGH): Delete. + * flow.c (merge_blocks_nomove): For HAVE_cc0 targets, make sure to also delete the cc0 setter when deleting a conditional branch to the next block. diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 705ccb5f4ac..ff94e89284a 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -879,11 +879,6 @@ struct rtx_def *function_arg(); Do not define this if the table should contain absolute addresses. */ /*#define CASE_VECTOR_PC_RELATIVE 1 */ -/* Define this if the case instruction drops through after the table - when the index is out of range. Don't define it if the case insn - jumps to the default label instead. */ -#define CASE_DROPS_THROUGH - /* Specify the tree operation to be used to convert reals to integers. */ #define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR diff --git a/gcc/config/mn10200/mn10200.h b/gcc/config/mn10200/mn10200.h index d2b474d5d70..fcf1058e0a4 100644 --- a/gcc/config/mn10200/mn10200.h +++ b/gcc/config/mn10200/mn10200.h @@ -991,11 +991,6 @@ do { char dstr[30]; \ for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE Pmode -/* Define this if the case instruction drops through after the table - when the index is out of range. Don't define it if the case insn - jumps to the default label instead. */ -#define CASE_DROPS_THROUGH - /* Dispatch tables on the mn10200 are extremely expensive in terms of code and readonly data size. So we crank up the case threshold value to encourage a series of if/else comparisons to implement many small switch diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index e54b77a718b..5eb2aef1c28 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -987,11 +987,6 @@ do { char dstr[30]; \ for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE Pmode -/* Define this if the case instruction drops through after the table - when the index is out of range. Don't define it if the case insn - jumps to the default label instead. */ -#define CASE_DROPS_THROUGH - /* Define if operations between registers always perform the operation on the full register even if a narrower mode is specified. */ #define WORD_REGISTER_OPERATIONS diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h index af8358eb153..30f24942341 100644 --- a/gcc/config/openbsd.h +++ b/gcc/config/openbsd.h @@ -300,3 +300,9 @@ do { \ #pragma weak. */ #define GTHREAD_USE_WEAK 0 +/* bug work around: we don't want to support #pragma weak, but the current + code layout needs HANDLE_PRAGMA_WEAK asserted for __attribute((weak)) to + work. On the other hand, we don't define HANDLE_PRAGMA_WEAK directly, + as this depends on a few other details as well... */ +#define HANDLE_SYSV_PRAGMA + diff --git a/gcc/config/rs6000/xm-sysv4.h b/gcc/config/rs6000/xm-sysv4.h index cf56eb4ad33..181f8b7d818 100644 --- a/gcc/config/rs6000/xm-sysv4.h +++ b/gcc/config/rs6000/xm-sysv4.h @@ -30,9 +30,7 @@ Boston, MA 02111-1307, USA. */ #define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_LONG 32 -#if 0 #define HOST_BITS_PER_LONGLONG 64 -#endif /* Doubles are stored in memory with the high order word first. This matters when cross-compiling. */