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/vax | |
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/vax')
-rw-r--r-- | gcc/config/vax/vax.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 1d4d67d..3a296a4 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -446,7 +446,7 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12)) /* This macro generates the assembly code for function entry. FILE is a stdio stream to output the code to. SIZE is an int: how many units of temporary storage to allocate, - adjusted by STARTING_FRAME_OFFSET to accomodate vms.h. + adjusted by STARTING_FRAME_OFFSET to accommodate vms.h. Refer to the array `regs_ever_live' to determine which registers to save; `regs_ever_live[I]' is nonzero if register number I is ever used in the function. This macro is responsible for @@ -813,10 +813,11 @@ gen_rtx (PLUS, Pmode, frame, gen_rtx (CONST_INT, VOIDmode, 12)) for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE HImode -/* 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 /* 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 |