diff options
author | Ian Lance Taylor <ian@cygnus.com> | 1997-12-19 16:43:29 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-19 09:43:29 -0700 |
commit | 18543a22081f3f08a82e6402837daed19b66f0a7 (patch) | |
tree | 406e28da63e660364ba69da2395d4cb1eba4121d /gcc/config/elxsi | |
parent | f1f5f1422f651133e28d479feb0223e92251cabe (diff) | |
download | gcc-18543a22081f3f08a82e6402837daed19b66f0a7.zip gcc-18543a22081f3f08a82e6402837daed19b66f0a7.tar.gz gcc-18543a22081f3f08a82e6402837daed19b66f0a7.tar.bz2 |
expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.
* expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
expression.
* stmt.c (expand_end_case): Likewise.
* alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
* fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
* rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise.
From-SVN: r17155
Diffstat (limited to 'gcc/config/elxsi')
-rw-r--r-- | gcc/config/elxsi/elxsi.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/elxsi/elxsi.h b/gcc/config/elxsi/elxsi.h index d0d4c73..dd0a5f9 100644 --- a/gcc/config/elxsi/elxsi.h +++ b/gcc/config/elxsi/elxsi.h @@ -618,10 +618,11 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES }; for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE SImode -/* Define this if the case instruction expects the table - to contain offsets from the address of the table. - Do not define this if the table should contain absolute addresses. */ -/* #define CASE_VECTOR_PC_RELATIVE */ +/* Define as C expression which evaluates to nonzero if the tablejump + instruction expects the table to contain offsets from the address of the + table. + Do not define this if the table should contain absolute addresses. */ +/* #define CASE_VECTOR_PC_RELATIVE 1 */ /* Specify the tree operation to be used to convert reals to integers. */ #define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR |