summaryrefslogtreecommitdiff
path: root/gcc/config/convex/convex.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@cygnus.com>1997-12-19 16:43:29 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-19 09:43:29 -0700
commit18543a22081f3f08a82e6402837daed19b66f0a7 (patch)
tree406e28da63e660364ba69da2395d4cb1eba4121d /gcc/config/convex/convex.h
parentf1f5f1422f651133e28d479feb0223e92251cabe (diff)
downloadgcc-18543a22081f3f08a82e6402837daed19b66f0a7.tar.gz
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/convex/convex.h')
-rw-r--r--gcc/config/convex/convex.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h
index 41f1bacf5d9..7538c1e3455 100644
--- a/gcc/config/convex/convex.h
+++ b/gcc/config/convex/convex.h
@@ -1029,10 +1029,11 @@ enum reg_class {
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 */
/* 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