From 18543a22081f3f08a82e6402837daed19b66f0a7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 19 Dec 1997 16:43:29 +0000 Subject: 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 --- gcc/config/elxsi/elxsi.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gcc/config/elxsi') 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 -- cgit v1.1