aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-19 10:57:02 +0000
committerKazu Hirata <kazu@cs.umass.edu>2004-02-19 10:57:02 +0000
commitfe481967ed913facfafd9d0502b8f859106672bc (patch)
tree3c89f424eda3b963b1d9b3e44480f2bfce1aaf99 /gcc
parentd36ae8f3709aa460b19777b95e02b79e14d820b5 (diff)
* config/arc/arc.h, config/arm/arm.h, config/frv/frv.h,
config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, config/iq2000/iq2000.h, config/m32r/m32r.h, config/pdp11/pdp11.h, config/sparc/sparc.h, config/xtensa/xtensa.h: Remove commented-out or useless definitions of CASE_VECTOR_PC_RELATIVE. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@78091 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/arc/arc.h9
-rw-r--r--gcc/config/arm/arm.h6
-rw-r--r--gcc/config/frv/frv.h5
-rw-r--r--gcc/config/h8300/h8300.h6
-rw-r--r--gcc/config/i386/i386.h6
-rw-r--r--gcc/config/i860/i860.h6
-rw-r--r--gcc/config/iq2000/iq2000.h2
-rw-r--r--gcc/config/m32r/m32r.h9
-rw-r--r--gcc/config/pdp11/pdp11.h6
-rw-r--r--gcc/config/sparc/sparc.h6
-rw-r--r--gcc/config/xtensa/xtensa.h5
12 files changed, 9 insertions, 66 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 300dfac82a0..c6675c981d5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,14 @@
2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
+ * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h,
+ config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
+ config/iq2000/iq2000.h, config/m32r/m32r.h,
+ config/pdp11/pdp11.h, config/sparc/sparc.h,
+ config/xtensa/xtensa.h: Remove commented-out or useless
+ definitions of CASE_VECTOR_PC_RELATIVE.
+
+2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
+
* loop.c (all_sets_invariant_p): Remove.
2004-02-19 Eric Botcazou <ebotcazou@libertysurf.fr>
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index cdd9ba29207..48044403c9c 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -1186,15 +1186,6 @@ do { if ((LOG) != 0) fprintf (FILE, "\t.align %d\n", 1 << (LOG)); } while (0)
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE Pmode
-/* 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. */
-/* It's not clear what PIC will look like or whether we want to use -fpic
- for the embedded form currently being talked about. For now require -fpic
- to get pc relative switch tables. */
-/*#define CASE_VECTOR_PC_RELATIVE 1 */
-
/* Define if operations between registers always perform the operation
on the full register even if a narrower mode is specified. */
#define WORD_REGISTER_OPERATIONS
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 3f082eabef0..320bee05299 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -2399,12 +2399,6 @@ do { \
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE Pmode
-/* 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 */
-
/* signed 'char' is most compatible, but RISC OS wants it unsigned.
unsigned is probably best, but may break some code. */
#ifndef DEFAULT_SIGNED_CHAR
diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h
index 828e8a326d1..021740c4782 100644
--- a/gcc/config/frv/frv.h
+++ b/gcc/config/frv/frv.h
@@ -2878,11 +2878,6 @@ do { \
(*targetm.asm_out.internal_label) (STREAM, PREFIX, NUM); \
} while (0)
-/* Define this to determine whether case statement labels are relative to
- the start of the case statement or not. */
-
-#define CASE_VECTOR_PC_RELATIVE (flag_pic)
-
/* Assembler Commands for Exception Regions. */
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 6b2d1aa264a..aad99ec2c45 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -916,12 +916,6 @@ struct cum_arg
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE Pmode
-/* 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 as 1 if `char' should by default be signed; else as 0.
On the H8/300, sign extension is expensive, so we'll say that chars
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index cacce6443cf..5cbddb13978 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -2516,12 +2516,6 @@ enum ix86_builtins
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE (!TARGET_64BIT || flag_pic ? SImode : DImode)
-/* 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 as 1 if `char' should by default be signed; else as 0. */
#define DEFAULT_SIGNED_CHAR 1
diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h
index 354df729010..1b29a08adbe 100644
--- a/gcc/config/i860/i860.h
+++ b/gcc/config/i860/i860.h
@@ -821,12 +821,6 @@ struct cumulative_args { int ints, floats; };
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE SImode
-/* 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 as 1 if `char' should by default be signed; else as 0. */
#define DEFAULT_SIGNED_CHAR 1
diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h
index add33040291..2574dbc8ebb 100644
--- a/gcc/config/iq2000/iq2000.h
+++ b/gcc/config/iq2000/iq2000.h
@@ -866,8 +866,6 @@ while (0)
#define CASE_VECTOR_MODE SImode
-#define CASE_VECTOR_PC_RELATIVE 0
-
#define WORD_REGISTER_OPERATIONS
#define LOAD_EXTEND_OP(MODE) ZERO_EXTEND
diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h
index 00bdad63e98..5b716113579 100644
--- a/gcc/config/m32r/m32r.h
+++ b/gcc/config/m32r/m32r.h
@@ -1725,15 +1725,6 @@ extern char m32r_punct_chars[256];
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE (flag_pic ? SImode : Pmode)
-/* 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. */
-/* It's not clear what PIC will look like or whether we want to use -fpic
- for the embedded form currently being talked about. For now require -fpic
- to get pc relative switch tables. */
-/*#define CASE_VECTOR_PC_RELATIVE 1 */
-
/* Define if operations between registers always perform the operation
on the full register even if a narrower mode is specified. */
#define WORD_REGISTER_OPERATIONS
diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
index 725fe25e0a0..60198431cf1 100644
--- a/gcc/config/pdp11/pdp11.h
+++ b/gcc/config/pdp11/pdp11.h
@@ -880,12 +880,6 @@ extern int may_call_alloca;
`tablejump' insn. */
#define CASE_TAKES_INDEX_RAW
-/* 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 as 1 if `char' should by default be signed; else as 0. */
#define DEFAULT_SIGNED_CHAR 1
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 515291cb371..4e5235a9541 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -2190,12 +2190,6 @@ do { \
(! TARGET_PTR64 ? SImode : flag_pic ? DImode : TARGET_CM_MEDLOW ? SImode : DImode)
#endif
-/* 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 as 1 if `char' should by default be signed; else as 0. */
#define DEFAULT_SIGNED_CHAR 1
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index a956f1b6bb4..4665786a87e 100644
--- a/gcc/config/xtensa/xtensa.h
+++ b/gcc/config/xtensa/xtensa.h
@@ -1118,11 +1118,6 @@ typedef struct xtensa_args
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE (SImode)
-/* 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 this as 1 if 'char' should by default be signed; else as 0. */
#define DEFAULT_SIGNED_CHAR 0