summaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-19 16:43:29 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-19 16:43:29 +0000
commit25d1d1e90dc5089c7ffca664e5a28cddcc819219 (patch)
tree406e28da63e660364ba69da2395d4cb1eba4121d /gcc/config/sparc
parent0c42ade13a8abf741e5ff9ac4918c154a8a0bf86 (diff)
downloadgcc-25d1d1e90dc5089c7ffca664e5a28cddcc819219.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sparc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index d839432e766..e87058cc33f 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -2461,10 +2461,11 @@ extern struct rtx_def *legitimize_pic_address ();
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE Pmode
-/* Define this 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 */
+/* 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