diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-03-02 01:51:02 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-03-02 01:51:02 +0000 |
commit | d6edb99e92ed0d198857f104e81d98c57ad5d768 (patch) | |
tree | b5e3688be247ecd147e1cdef28cb5a5f40a44b8f /gcc/config | |
parent | 9bb9ef28342c5995ea9460b31bca707de200506e (diff) | |
download | gcc-d6edb99e92ed0d198857f104e81d98c57ad5d768.zip gcc-d6edb99e92ed0d198857f104e81d98c57ad5d768.tar.gz gcc-d6edb99e92ed0d198857f104e81d98c57ad5d768.tar.bz2 |
xm-lynx.h, [...]: Do not define TRUE or FALSE.
* config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
config/clipper/xm-clix.h, config/convex/xm-convex.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
config/h8300/xm-h8300.h, config/i370/xm-i370.h,
config/i370/xm-linux.h, config/i370/xm-mvs.h,
config/i370/xm-oe.h, config/i386/xm-aix.h,
config/i386/xm-i386.h, config/i386/xm-osf.h,
config/i860/xm-i860.h, config/i960/xm-i960.h,
config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
config/mcore/xm-mcore.h, config/mips/xm-mips.h,
config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
config/pa/xm-pahpux.h, config/pa/xm-papro.h,
config/pj/xm-pj.h, config/romp/xm-romp.h,
config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/vax/xm-vms.h, config/we32k/xm-we32k.h:
Do not define TRUE or FALSE.
* config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
empty by above change.
* config.gcc: Remove references to these files.
* configure.in: Detect stdbool.h.
* configure, config.in: Regenerate.
* system.h: Include stddef.h here if available. Set
HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__. Then
set up a sensible boolean type at the very end.
* combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
f/com.c, config/mcore/mcore.c:
Rename variables named 'true' and/or 'false'.
* hash.h: Delete 'boolean' typedef and related #undefs.
* f/proj.h: Delete 'bool' type. Don't include stddef.h here.
* function.c, ggc-common.c, hash.h, hash.c, tlink.c, cp/decl.c,
java/class.c, java/decl.c, java/java-tree.h:
Replace all uses of 'boolean' with 'bool'.
From-SVN: r40176
Diffstat (limited to 'gcc/config')
51 files changed, 38 insertions, 264 deletions
diff --git a/gcc/config/a29k/xm-a29k.h b/gcc/config/a29k/xm-a29k.h index 774e34b..63b9acc 100644 --- a/gcc/config/a29k/xm-a29k.h +++ b/gcc/config/a29k/xm-a29k.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for AMD Am29000 processor. - Copyright (C) 1987, 1988, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,11 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/a29k/xm-unix.h b/gcc/config/a29k/xm-unix.h index 206d8fd..4dd6c32 100644 --- a/gcc/config/a29k/xm-unix.h +++ b/gcc/config/a29k/xm-unix.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for AMD Am29000 processor. - Copyright (C) 1987, 1988, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/alpha/xm-alpha.h b/gcc/config/alpha/xm-alpha.h index 9e38cfc..25a9d0f 100644 --- a/gcc/config/alpha/xm-alpha.h +++ b/gcc/config/alpha/xm-alpha.h @@ -20,11 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/arc/xm-arc.h b/gcc/config/arc/xm-arc.h index ba011e9..f0fadba 100644 --- a/gcc/config/arc/xm-arc.h +++ b/gcc/config/arc/xm-arc.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for the ARC processor. - Copyright (C) 1994, 1997 Free Software Foundation, Inc. + Copyright (C) 1994, 1997, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/arm/xm-arm.h b/gcc/config/arm/xm-arm.h index 544fe45..2a16862 100644 --- a/gcc/config/arm/xm-arm.h +++ b/gcc/config/arm/xm-arm.h @@ -21,10 +21,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 @@ -60,5 +56,3 @@ Boston, MA 02111-1307, USA. */ #endif /* EOF xm-arm.h */ - - diff --git a/gcc/config/c4x/xm-c4x.h b/gcc/config/c4x/xm-c4x.h index dc329eb..4910324 100644 --- a/gcc/config/c4x/xm-c4x.h +++ b/gcc/config/c4x/xm-c4x.h @@ -1,7 +1,3 @@ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 32 #define HOST_BITS_PER_SHORT 32 @@ -18,4 +14,3 @@ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - diff --git a/gcc/config/clipper/xm-clix.h b/gcc/config/clipper/xm-clix.h index 519ddf5..adb8411 100644 --- a/gcc/config/clipper/xm-clix.h +++ b/gcc/config/clipper/xm-clix.h @@ -1,9 +1,5 @@ /* Config file for Clipper running Clix, system V. 3.2 clone */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ diff --git a/gcc/config/convex/xm-convex.h b/gcc/config/convex/xm-convex.h index c3e0fe2c..8a905df 100644 --- a/gcc/config/convex/xm-convex.h +++ b/gcc/config/convex/xm-convex.h @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" diff --git a/gcc/config/d30v/xm-d30v.h b/gcc/config/d30v/xm-d30v.h index aa8c40e..549ecbe 100644 --- a/gcc/config/d30v/xm-d30v.h +++ b/gcc/config/d30v/xm-d30v.h @@ -19,10 +19,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* A C expression for the status code to be returned when the compiler exits after serious errors. */ #define FATAL_EXIT_CODE 33 diff --git a/gcc/config/dsp16xx/xm-dsp16xx.h b/gcc/config/dsp16xx/xm-dsp16xx.h index 11e1fe9..ac40dac 100644 --- a/gcc/config/dsp16xx/xm-dsp16xx.h +++ b/gcc/config/dsp16xx/xm-dsp16xx.h @@ -1,5 +1,5 @@ /* Configuration file for GNU CC for AT&T DSP1600. - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 2001 Free Software Foundation, Inc. Contributed by Michael Collison (collison@world.std.com). This file is part of GNU CC. @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/elxsi/xm-elxsi.h b/gcc/config/elxsi/xm-elxsi.h index 8264bec..ed47bde 100644 --- a/gcc/config/elxsi/xm-elxsi.h +++ b/gcc/config/elxsi/xm-elxsi.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Elxsi. - Copyright (C) 1987, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" @@ -35,4 +31,3 @@ Boston, MA 02111-1307, USA. */ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - diff --git a/gcc/config/fr30/xm-fr30.h b/gcc/config/fr30/xm-fr30.h index 54b1e53..82030f5 100644 --- a/gcc/config/fr30/xm-fr30.h +++ b/gcc/config/fr30/xm-fr30.h @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* A C expression for the status code to be returned when the compiler exits after serious errors. */ #define FATAL_EXIT_CODE 33 diff --git a/gcc/config/h8300/xm-h8300.h b/gcc/config/h8300/xm-h8300.h index 7fde9e6..8859209 100644 --- a/gcc/config/h8300/xm-h8300.h +++ b/gcc/config/h8300/xm-h8300.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for H8/300. - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 @@ -43,4 +39,3 @@ Boston, MA 02111-1307, USA. */ /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" - diff --git a/gcc/config/i370/xm-i370.h b/gcc/config/i370/xm-i370.h index 939dc89..bb66342 100644 --- a/gcc/config/i370/xm-i370.h +++ b/gcc/config/i370/xm-i370.h @@ -20,11 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ - -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 diff --git a/gcc/config/i370/xm-linux.h b/gcc/config/i370/xm-linux.h index 08ab698..ccdf64f 100644 --- a/gcc/config/i370/xm-linux.h +++ b/gcc/config/i370/xm-linux.h @@ -21,13 +21,7 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ - -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ - #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 #define HOST_BITS_PER_INT 32 @@ -54,6 +48,5 @@ extern char *alloca (); #include "tm.h" /* Arguments to use with `exit'. */ - #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 12 diff --git a/gcc/config/i370/xm-mvs.h b/gcc/config/i370/xm-mvs.h index b070acd..0535662 100644 --- a/gcc/config/i370/xm-mvs.h +++ b/gcc/config/i370/xm-mvs.h @@ -20,11 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ - -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 diff --git a/gcc/config/i370/xm-oe.h b/gcc/config/i370/xm-oe.h index 52dd283..baacdf2 100644 --- a/gcc/config/i370/xm-oe.h +++ b/gcc/config/i370/xm-oe.h @@ -20,11 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ - -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 diff --git a/gcc/config/i386/xm-aix.h b/gcc/config/i386/xm-aix.h deleted file mode 100644 index 4cbd36e..0000000 --- a/gcc/config/i386/xm-aix.h +++ /dev/null @@ -1,2 +0,0 @@ -#undef TRUE -#undef FALSE diff --git a/gcc/config/i386/xm-i386.h b/gcc/config/i386/xm-i386.h index d115e6e..5eaf8e4 100644 --- a/gcc/config/i386/xm-i386.h +++ b/gcc/config/i386/xm-i386.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Intel 80386. - Copyright (C) 1988, 1993 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -22,10 +22,6 @@ Boston, MA 02111-1307, USA. */ #define __i386__ 1 #endif -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/i386/xm-osf.h b/gcc/config/i386/xm-osf.h deleted file mode 100644 index 4cbd36e..0000000 --- a/gcc/config/i386/xm-osf.h +++ /dev/null @@ -1,2 +0,0 @@ -#undef TRUE -#undef FALSE diff --git a/gcc/config/i860/xm-i860.h b/gcc/config/i860/xm-i860.h index 9b8c0a3..ad5f0ed 100644 --- a/gcc/config/i860/xm-i860.h +++ b/gcc/config/i860/xm-i860.h @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/i960/xm-i960.h b/gcc/config/i960/xm-i960.h index 09dcadf..06df5b1 100644 --- a/gcc/config/i960/xm-i960.h +++ b/gcc/config/i960/xm-i960.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Intel 960 family - Copyright (C) 1987, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/ia64/xm-ia64.h b/gcc/config/ia64/xm-ia64.h index 481de92..f3ca011 100644 --- a/gcc/config/ia64/xm-ia64.h +++ b/gcc/config/ia64/xm-ia64.h @@ -1,5 +1,5 @@ /* Definitions of target machine for IA-64. - Copyright (C) 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* A C expression for the status code to be returned when the compiler exits after serious errors. */ #define FATAL_EXIT_CODE 33 diff --git a/gcc/config/m32r/xm-m32r.h b/gcc/config/m32r/xm-m32r.h index 57100c8..82c2b84 100644 --- a/gcc/config/m32r/xm-m32r.h +++ b/gcc/config/m32r/xm-m32r.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for the M32R processor. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/m68k/xm-m68k.h b/gcc/config/m68k/xm-m68k.h index 757c9af..f3b337b 100644 --- a/gcc/config/m68k/xm-m68k.h +++ b/gcc/config/m68k/xm-m68k.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Motorola 68000 family. - Copyright (C) 1987, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,11 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/m88k/xm-m88k.h b/gcc/config/m88k/xm-m88k.h index 4568fd5..1ddcca9 100644 --- a/gcc/config/m88k/xm-m88k.h +++ b/gcc/config/m88k/xm-m88k.h @@ -1,6 +1,6 @@ /* Configuration for GNU compiler. Motorola m88100 in an 88open OCS/BCS environment. - Copyright (C) 1988, 1989, 1990, 1991, 1993, 1997 + Copyright (C) 1988, 1989, 1990, 1991, 1993, 1997, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -20,11 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index c465023..42cb578 100644 --- a/gcc/config/mcore/mcore.c +++ b/gcc/config/mcore/mcore.c @@ -1,5 +1,5 @@ /* Output routines for Motorola MCore processor - Copyright (C) 1993, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1993, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -2634,8 +2634,8 @@ mcore_dependent_simplify_rtx (x, int_op0_mode, last, in_dest, general_simplify) { int i; rtx cond = XEXP(x, 0); - rtx true = XEXP(x, 1); - rtx false = XEXP(x, 2); + rtx true_rtx = XEXP(x, 1); + rtx false_rtx = XEXP(x, 2); enum rtx_code true_code = GET_CODE (cond); /* On the mcore, when doing -mcmov-one, we don't want to simplify: @@ -2648,12 +2648,12 @@ mcore_dependent_simplify_rtx (x, int_op0_mode, last, in_dest, general_simplify) not typically help. see combine.c, line 4217. BRC */ if (true_code == NE && XEXP (cond, 1) == const0_rtx - && false == const0_rtx && GET_CODE (true) == CONST_INT + && false_rtx == const0_rtx && GET_CODE (true_rtx) == CONST_INT && ((1 == nonzero_bits (XEXP (cond, 0), mode) - && (i = exact_log2 (INTVAL (true))) >= 0) + && (i = exact_log2 (INTVAL (true_rtx))) >= 0) || ((num_sign_bit_copies (XEXP (cond, 0), mode) == GET_MODE_BITSIZE (mode)) - && (i = exact_log2 (- INTVAL (true))) >= 0))) + && (i = exact_log2 (- INTVAL (true_rtx))) >= 0))) { *general_simplify = 0; return x; diff --git a/gcc/config/mcore/xm-mcore.h b/gcc/config/mcore/xm-mcore.h index 46b4eff..ac72915 100644 --- a/gcc/config/mcore/xm-mcore.h +++ b/gcc/config/mcore/xm-mcore.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for the Motorola M*Core. - Copyright (C) 1993, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1993, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -17,10 +17,6 @@ You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 @@ -39,4 +35,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - diff --git a/gcc/config/mips/xm-mips.h b/gcc/config/mips/xm-mips.h index fee5bd3..3c52ac0 100644 --- a/gcc/config/mips/xm-mips.h +++ b/gcc/config/mips/xm-mips.h @@ -19,11 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/mn10200/xm-mn10200.h b/gcc/config/mn10200/xm-mn10200.h index 5e291d0..c8b3130 100644 --- a/gcc/config/mn10200/xm-mn10200.h +++ b/gcc/config/mn10200/xm-mn10200.h @@ -1,5 +1,5 @@ /* Configuration for Matsushita MN10200. - Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GNU CC. @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/mn10300/xm-mn10300.h b/gcc/config/mn10300/xm-mn10300.h index 84f888b..59b625b 100644 --- a/gcc/config/mn10300/xm-mn10300.h +++ b/gcc/config/mn10300/xm-mn10300.h @@ -1,5 +1,5 @@ /* Configuration for Matsushita MN10300. - Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 1999, 2001 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GNU CC. @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/ns32k/xm-ns32k.h b/gcc/config/ns32k/xm-ns32k.h index 3d1d7ac..46d373f 100644 --- a/gcc/config/ns32k/xm-ns32k.h +++ b/gcc/config/ns32k/xm-ns32k.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Vax. - Copyright (C) 1987, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" diff --git a/gcc/config/pa/xm-linux.h b/gcc/config/pa/xm-linux.h index 4bc19ee..d5cb80b 100644 --- a/gcc/config/pa/xm-linux.h +++ b/gcc/config/pa/xm-linux.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for PA-RISC. - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/pa/xm-pa.h b/gcc/config/pa/xm-pa.h index b0d0c03..7c992ff 100644 --- a/gcc/config/pa/xm-pa.h +++ b/gcc/config/pa/xm-pa.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for PA-RISC. - Copyright (C) 1988, 1995 Free Software Foundation, Inc. + Copyright (C) 1988, 1995, 2001 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com). This file is part of GNU CC. @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/pa/xm-pa64hpux.h b/gcc/config/pa/xm-pa64hpux.h index fc1ad27..157abe0 100644 --- a/gcc/config/pa/xm-pa64hpux.h +++ b/gcc/config/pa/xm-pa64hpux.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for PA-RISC. - Copyright (C) 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -22,11 +22,6 @@ Boston, MA 02111-1307, USA. */ /* HP-UX is a flavor of System V */ #define USG -/* Use System V memory functions. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/pa/xm-pahpux.h b/gcc/config/pa/xm-pahpux.h index d62210a..e7a4f75 100644 --- a/gcc/config/pa/xm-pahpux.h +++ b/gcc/config/pa/xm-pahpux.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for PA-RISC. - Copyright (C) 1988, 1995, 1997 Free Software Foundation, Inc. + Copyright (C) 1988, 1995, 1997, 2001 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com). This file is part of GNU CC. @@ -19,15 +19,9 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - /* HP-UX is a flavor of System V */ #define USG -/* Use System V memory functions. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/pa/xm-papro.h b/gcc/config/pa/xm-papro.h index e5dad42..f987a56 100644 --- a/gcc/config/pa/xm-papro.h +++ b/gcc/config/pa/xm-papro.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for PA-RISC. - Copyright (C) 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 2001 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com). This file is part of GNU CC. @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/pj/xm-pj.h b/gcc/config/pj/xm-pj.h index e635cce..694ef3a 100644 --- a/gcc/config/pj/xm-pj.h +++ b/gcc/config/pj/xm-pj.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for picoJava. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/romp/xm-romp.h b/gcc/config/romp/xm-romp.h index acb5b8c..2379825 100644 --- a/gcc/config/romp/xm-romp.h +++ b/gcc/config/romp/xm-romp.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for IBM RT PC. - Copyright (C) 1989, 1991, 1993 Free Software Foundation, Inc. + Copyright (C) 1989, 1991, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,11 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/rs6000/xm-beos.h b/gcc/config/rs6000/xm-beos.h index cadbbe3..c5ee876 100644 --- a/gcc/config/rs6000/xm-beos.h +++ b/gcc/config/rs6000/xm-beos.h @@ -21,12 +21,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ - -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 @@ -81,4 +75,3 @@ extern void *alloca (); /* SYSTEM_INCLUDE_DIR is the location for system specific, non-POSIX headers. */ #define SYSTEM_INCLUDE_DIR "/boot/develop/headers/be" - diff --git a/gcc/config/rs6000/xm-rs6000.h b/gcc/config/rs6000/xm-rs6000.h index 1ad9da9..d68965b 100644 --- a/gcc/config/rs6000/xm-rs6000.h +++ b/gcc/config/rs6000/xm-rs6000.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for IBM RS/6000 running AIX in 32-bit mode. - Copyright (C) 1990, 1993, 1995, 1998 Free Software Foundation, Inc. + Copyright (C) 1990, 1993, 1995, 1998, 2001 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu). This file is part of GNU CC. @@ -19,11 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/rs6000/xm-sysv4.h b/gcc/config/rs6000/xm-sysv4.h index 46d1ddd..6e7b127 100644 --- a/gcc/config/rs6000/xm-sysv4.h +++ b/gcc/config/rs6000/xm-sysv4.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for PowerPC running System V.4. - Copyright (C) 1995, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995, 1998, 1999, 2001 Free Software Foundation, Inc. Cloned from sparc/xm-sysv4.h by Michael Meissner (meissner@cygnus.com). This file is part of GNU CC. @@ -19,11 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/sh/xm-sh.h b/gcc/config/sh/xm-sh.h index f51b787..e6e183b 100644 --- a/gcc/config/sh/xm-sh.h +++ b/gcc/config/sh/xm-sh.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Hitachi SH. - Copyright (C) 1993, 1997 Free Software Foundation, Inc. + Copyright (C) 1993, 1997, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/sparc/xm-sparc.h b/gcc/config/sparc/xm-sparc.h index e553a0d..096fad6 100644 --- a/gcc/config/sparc/xm-sparc.h +++ b/gcc/config/sparc/xm-sparc.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Sun Sparc. - Copyright (C) 1988, 1993, 1995, 1997 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 1995, 1997, 2001 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com). This file is part of GNU CC. @@ -19,11 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/sparc/xm-sysv4.h b/gcc/config/sparc/xm-sysv4.h index 6e663d1..5e0d15d 100644 --- a/gcc/config/sparc/xm-sysv4.h +++ b/gcc/config/sparc/xm-sysv4.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Sun Sparc running System V.4. - Copyright (C) 1992, 1993, 1998 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1998, 2001 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@netcom.com). This file is part of GNU CC. @@ -19,11 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/v850/xm-v850.h b/gcc/config/v850/xm-v850.h index 7e2da67..e7257e4 100644 --- a/gcc/config/v850/xm-v850.h +++ b/gcc/config/v850/xm-v850.h @@ -1,5 +1,5 @@ /* Configuration for NEC V850. - Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 1999, 2001 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GNU CC. @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/vax/xm-vax.h b/gcc/config/vax/xm-vax.h index d7ef168..d19157f 100644 --- a/gcc/config/vax/xm-vax.h +++ b/gcc/config/vax/xm-vax.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Vax. - Copyright (C) 1987, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1993, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" @@ -42,4 +38,3 @@ Boston, MA 02111-1307, USA. */ /* isinf isn't there, but finite is. */ #define isinf(x) (!finite(x)) - diff --git a/gcc/config/vax/xm-vms.h b/gcc/config/vax/xm-vms.h index 35115a0..2fc6447 100644 --- a/gcc/config/vax/xm-vms.h +++ b/gcc/config/vax/xm-vms.h @@ -19,10 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* Other configurations get these via autoconfig. */ #define STDC_HEADERS 1 #define HAVE_STDLIB_H 1 diff --git a/gcc/config/we32k/xm-we32k.h b/gcc/config/we32k/xm-we32k.h index be617d3..0bc5514 100644 --- a/gcc/config/we32k/xm-we32k.h +++ b/gcc/config/we32k/xm-we32k.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for AT&T we32000 Family. - Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1993, 1996, 2001 Free Software Foundation, Inc. Contributed by John Wehle (john@feith1.uucp) This file is part of GNU CC. @@ -19,11 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 diff --git a/gcc/config/xm-lynx.h b/gcc/config/xm-lynx.h index 72ee342..edc5ca9 100644 --- a/gcc/config/xm-lynx.h +++ b/gcc/config/xm-lynx.h @@ -22,10 +22,6 @@ Boston, MA 02111-1307, USA. */ running Lynx. This file should not be specified as $xm_file itself; instead $xm_file should be CPU/xm-lynx.h, which should include this one. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 diff --git a/gcc/config/xm-std32.h b/gcc/config/xm-std32.h index c52782e..cad11ef 100644 --- a/gcc/config/xm-std32.h +++ b/gcc/config/xm-std32.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for standard 32-bit host machine. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #defines that need visibility everywhere. */ -#define FALSE 0 -#define TRUE 1 - /* This describes the machine the compiler is hosted on. */ #define HOST_BITS_PER_CHAR 8 #define HOST_BITS_PER_SHORT 16 |