This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[basic-improvements] Remove commented-out macros.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 21 Sep 2002 01:24:03 -0400 (EDT)
- Subject: [basic-improvements] Remove commented-out macros.
Hi,
Attached is a patch to remove commented-out macros.
OK to apply?
Kazu Hirata
2002-09-21 Kazu Hirata <kazu@cs.umass.edu>
* config/alpha/alpha.h: Remove commented-out macro
definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT.
* config/avr/avr.h: Likewise.
* config/d30v/d30v.h: Likewise.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/i370/i370.h: Likewise.
* config/i386/i386.h: Likewise.
* config/i960/i960.h: Likewise.
* config/m68k/m68k.h: Likewise.
* config/m88k/m88k.h: Likewise.
* config/mips/mips.h: Likewise.
* config/ns32k/ns32k.h: Likewise.
* config/pdp11/pdp11.h: Likewise.
* config/romp/romp.h: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/s390/s390.h: Likewise.
* config/sh/sh.h: Likewise.
* config/sparc/sparc.h: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/vax/vax.h: Likewise.
Index: alpha/alpha.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/alpha.h,v
retrieving revision 1.176.4.6
diff -u -r1.176.4.6 alpha.h
--- alpha/alpha.h 20 Sep 2002 01:29:09 -0000 1.176.4.6
+++ alpha/alpha.h 21 Sep 2002 05:16:31 -0000
@@ -1286,12 +1286,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Macros to check register numbers against specific register classes. */
/* These assume that REGNO is a hard or pseudo reg number.
Index: avr/avr.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/avr/avr.h,v
retrieving revision 1.66.4.5
diff -u -r1.66.4.5 avr.h
--- avr/avr.h 20 Sep 2002 01:29:11 -0000 1.66.4.5
+++ avr/avr.h 21 Sep 2002 05:16:35 -0000
@@ -1307,8 +1307,6 @@
addressing. */
#define HAVE_PRE_DECREMENT 1
-/* #define HAVE_PRE_INCREMENT
- #define HAVE_POST_DECREMENT */
/* Similar for other kinds of addressing. */
#define CONSTANT_ADDRESS_P(X) CONSTANT_P (X)
Index: d30v/d30v.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/d30v/d30v.h,v
retrieving revision 1.67.2.5
diff -u -r1.67.2.5 d30v.h
--- d30v/d30v.h 20 Sep 2002 01:29:12 -0000 1.67.2.5
+++ d30v/d30v.h 21 Sep 2002 05:16:40 -0000
@@ -2241,9 +2241,7 @@
#define HAVE_POST_INCREMENT 1
/* Similar for other kinds of addressing. */
-/* #define HAVE_PRE_INCREMENT 0 */
#define HAVE_POST_DECREMENT 1
-/* #define HAVE_PRE_DECREMENT 0 */
/* A C expression that is 1 if the RTX X is a constant which is a valid
address. On most machines, this can be defined as `CONSTANT_P (X)', but a
Index: dsp16xx/dsp16xx.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/dsp16xx/dsp16xx.h,v
retrieving revision 1.51.2.3
diff -u -r1.51.2.3 dsp16xx.h
--- dsp16xx/dsp16xx.h 17 Sep 2002 22:58:55 -0000 1.51.2.3
+++ dsp16xx/dsp16xx.h 21 Sep 2002 05:16:42 -0000
@@ -1288,9 +1288,6 @@
#define HAVE_POST_INCREMENT 1
#define HAVE_POST_DECREMENT 1
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Recognize any constant value that is a valid address. */
#define CONSTANT_ADDRESS_P(X) CONSTANT_P (X)
Index: i370/i370.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i370/i370.h,v
retrieving revision 1.50.2.3
diff -u -r1.50.2.3 i370.h
--- i370/i370.h 16 Sep 2002 17:38:16 -0000 1.50.2.3
+++ i370/i370.h 21 Sep 2002 05:16:45 -0000
@@ -654,12 +654,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT */
-/* #define HAVE_POST_DECREMENT */
-
-/* #define HAVE_PRE_DECREMENT */
-/* #define HAVE_PRE_INCREMENT */
-
/* These assume that REGNO is a hard or pseudo reg number. They give
nonzero only if REGNO is a hard reg of the suitable class or a pseudo
reg currently allocated to a suitable hard reg.
Index: i386/i386.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.h,v
retrieving revision 1.280.4.4
diff -u -r1.280.4.4 i386.h
--- i386/i386.h 20 Sep 2002 01:29:13 -0000 1.280.4.4
+++ i386/i386.h 21 Sep 2002 05:16:48 -0000
@@ -1806,12 +1806,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Macros to check register numbers against specific register classes. */
/* These assume that REGNO is a hard or pseudo reg number.
Index: i960/i960.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i960/i960.h,v
retrieving revision 1.62.4.3
diff -u -r1.62.4.3 i960.h
--- i960/i960.h 16 Sep 2002 17:38:17 -0000 1.62.4.3
+++ i960/i960.h 21 Sep 2002 05:16:50 -0000
@@ -991,12 +991,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Macros to check register numbers against specific register classes. */
/* These assume that REGNO is a hard or pseudo reg number.
Index: m68k/m68k.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m68k/m68k.h,v
retrieving revision 1.75.4.3
diff -u -r1.75.4.3 m68k.h
--- m68k/m68k.h 16 Sep 2002 17:38:20 -0000 1.75.4.3
+++ m68k/m68k.h 21 Sep 2002 05:16:52 -0000
@@ -1198,10 +1198,8 @@
/* Addressing modes, and classification of registers for them. */
#define HAVE_POST_INCREMENT 1
-/* #define HAVE_POST_DECREMENT 0 */
#define HAVE_PRE_DECREMENT 1
-/* #define HAVE_PRE_INCREMENT 0 */
/* Macros to check register numbers against specific register classes. */
Index: m88k/m88k.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m88k/m88k.h,v
retrieving revision 1.70.4.5
diff -u -r1.70.4.5 m88k.h
--- m88k/m88k.h 17 Sep 2002 22:59:01 -0000 1.70.4.5
+++ m88k/m88k.h 21 Sep 2002 05:16:55 -0000
@@ -1155,12 +1155,6 @@
#define SELECT_CC_MODE(OP,X,Y) CCmode
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Recognize any constant value that is a valid address.
When PIC, we do not accept an address that would require a scratch reg
to load into a register. */
Index: mips/mips.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.h,v
retrieving revision 1.215.2.5
diff -u -r1.215.2.5 mips.h
--- mips/mips.h 17 Sep 2002 22:59:02 -0000 1.215.2.5
+++ mips/mips.h 21 Sep 2002 05:17:00 -0000
@@ -3006,12 +3006,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* These assume that REGNO is a hard or pseudo reg number.
They give nonzero only if REGNO is a hard reg of the suitable class
or a pseudo reg currently allocated to a suitable hard reg.
Index: ns32k/ns32k.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ns32k/ns32k.h,v
retrieving revision 1.46.2.3
diff -u -r1.46.2.3 ns32k.h
--- ns32k/ns32k.h 16 Sep 2002 17:38:22 -0000 1.46.2.3
+++ ns32k/ns32k.h 21 Sep 2002 05:17:02 -0000
@@ -810,12 +810,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Macros to check register numbers against specific register classes. */
/* These assume that REGNO is a hard or pseudo reg number.
Index: pdp11/pdp11.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pdp11/pdp11.h,v
retrieving revision 1.41.4.3
diff -u -r1.41.4.3 pdp11.h
--- pdp11/pdp11.h 16 Sep 2002 17:38:23 -0000 1.41.4.3
+++ pdp11/pdp11.h 21 Sep 2002 05:17:03 -0000
@@ -667,10 +667,8 @@
/* Addressing modes, and classification of registers for them. */
#define HAVE_POST_INCREMENT 1
-/* #define HAVE_POST_DECREMENT 0 */
#define HAVE_PRE_DECREMENT 1
-/* #define HAVE_PRE_INCREMENT 0 */
/* Macros to check register numbers against specific register classes. */
Index: romp/romp.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/romp/romp.h,v
retrieving revision 1.32.4.4
diff -u -r1.32.4.4 romp.h
--- romp/romp.h 16 Sep 2002 17:38:23 -0000 1.32.4.4
+++ romp/romp.h 21 Sep 2002 05:17:05 -0000
@@ -834,12 +834,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Macros to check register numbers against specific register classes. */
/* These assume that REGNO is a hard or pseudo reg number.
Index: rs6000/rs6000.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.h,v
retrieving revision 1.224.4.5
diff -u -r1.224.4.5 rs6000.h
--- rs6000/rs6000.h 20 Sep 2002 01:29:19 -0000 1.224.4.5
+++ rs6000/rs6000.h 21 Sep 2002 05:17:08 -0000
@@ -1932,9 +1932,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
#define HAVE_PRE_DECREMENT 1
#define HAVE_PRE_INCREMENT 1
Index: s390/s390.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.h,v
retrieving revision 1.40.4.3
diff -u -r1.40.4.3 s390.h
--- s390/s390.h 20 Sep 2002 01:29:20 -0000 1.40.4.3
+++ s390/s390.h 21 Sep 2002 05:17:10 -0000
@@ -856,12 +856,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT */
-/* #define HAVE_POST_DECREMENT */
-
-/* #define HAVE_PRE_DECREMENT */
-/* #define HAVE_PRE_INCREMENT */
-
/* These assume that REGNO is a hard or pseudo reg number. They give
nonzero only if REGNO is a hard reg of the suitable class or a pseudo
reg currently allocated to a suitable hard reg.
Index: sh/sh.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.h,v
retrieving revision 1.166.4.5
diff -u -r1.166.4.5 sh.h
--- sh/sh.h 20 Sep 2002 01:29:21 -0000 1.166.4.5
+++ sh/sh.h 21 Sep 2002 05:17:13 -0000
@@ -2136,8 +2136,6 @@
/* Addressing modes, and classification of registers for them. */
#define HAVE_POST_INCREMENT TARGET_SH1
-/*#define HAVE_PRE_INCREMENT 1*/
-/*#define HAVE_POST_DECREMENT 1*/
#define HAVE_PRE_DECREMENT TARGET_SH1
#define USE_LOAD_POST_INCREMENT(mode) ((mode == SImode || mode == DImode) \
Index: sparc/sparc.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.h,v
retrieving revision 1.207.4.5
diff -u -r1.207.4.5 sparc.h
--- sparc/sparc.h 20 Sep 2002 01:29:22 -0000 1.207.4.5
+++ sparc/sparc.h 21 Sep 2002 05:17:17 -0000
@@ -2049,12 +2049,6 @@
/* Addressing modes, and classification of registers for them. */
-/* #define HAVE_POST_INCREMENT 0 */
-/* #define HAVE_POST_DECREMENT 0 */
-
-/* #define HAVE_PRE_DECREMENT 0 */
-/* #define HAVE_PRE_INCREMENT 0 */
-
/* Macros to check register numbers against specific register classes. */
/* These assume that REGNO is a hard or pseudo reg number.
Index: stormy16/stormy16.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/stormy16/stormy16.h,v
retrieving revision 1.57.2.5
diff -u -r1.57.2.5 stormy16.h
--- stormy16/stormy16.h 20 Sep 2002 01:29:22 -0000 1.57.2.5
+++ stormy16/stormy16.h 21 Sep 2002 05:17:22 -0000
@@ -2023,8 +2023,6 @@
#define HAVE_POST_INCREMENT 1
/* Similar for other kinds of addressing. */
-/* #define HAVE_PRE_INCREMENT 1 */
-/* #define HAVE_POST_DECREMENT 1 */
#define HAVE_PRE_DECREMENT 1
/* A C expression that is 1 if the RTX X is a constant which is a valid
Index: vax/vax.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/vax/vax.h,v
retrieving revision 1.43.4.5
diff -u -r1.43.4.5 vax.h
--- vax/vax.h 20 Sep 2002 01:29:24 -0000 1.43.4.5
+++ vax/vax.h 21 Sep 2002 05:17:23 -0000
@@ -536,10 +536,8 @@
/* Addressing modes, and classification of registers for them. */
#define HAVE_POST_INCREMENT 1
-/* #define HAVE_POST_DECREMENT 0 */
#define HAVE_PRE_DECREMENT 1
-/* #define HAVE_PRE_INCREMENT 0 */
/* Macros to check register numbers against specific register classes. */