This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Remove chill


This patch removes most vestiges of the Chill front end.  Approved by
the SC.  The mildly interesting diffs are below; the parts that
consisted entirely of removing files have been elided.

Bootstrapped and tested on i686-pc-linux-gnu.  Applied on the mainline
and on the branch.

RIP,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2002-04-15  Mark Mitchell  <mark@codesourcery.com>

	* MAINTAINERS: Remove chill maintainers.
	* Makefile.in (CHILLFLAGS): Remove.
	(CHILL_LIB): Remove.
	(TARGET_CONFIGDIRS): Remove libchill.
	(CHILL_FOR_TARGET): Remove.
	(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
	CHILL_LIB.
	(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(configure-target-libchill): Remove.
	(all-target-libchill): Remove.
	* configure.in (target_libs): Remove target-libchill.
	Do not compute CHILL_FOR_TARGET.
	* libchill: Remove directory.
	
2002-04-15  Mark Mitchell  <mark@codesourcery.com>

	Remove Chill front end.
	* gcc.c (default_compilers): Remove Chill entries.
	* ch: Remove directory.
	* doc/frontends.texi: Remove information about Chill.
	* doc/sourcebuild.texi: Likewise.
	* doc/standards.texi: Likewise.

2002-04-15  Mark Mitchell  <mark@codesourcery.com>

	* testsuite/lib/chill.exp: Remove.

Mon Apr 15 10:59:14 2002  Mark Mitchell  <mark@codesourcery.com>

	* g77.texi: Remove Chill reference.

2002-04-15  Mark Mitchell  <mark@codesourcery.com>

	* gcc_release (build_tarfiles): Do not build Chill tarfiles.
	(CHILL_DIRS): Remove.

Index: MAINTAINERS
===================================================================
RCS file: /cvs/gcc/gcc/MAINTAINERS,v
retrieving revision 1.205.2.1
diff -c -p -r1.205.2.1 MAINTAINERS
*** MAINTAINERS	12 Mar 2002 18:41:00 -0000	1.205.2.1
--- MAINTAINERS	15 Apr 2002 16:22:09 -0000
*************** fortran			Richard Henderson	rth@redhat.c
*** 77,84 ****
  fortran			Toon Moene		toon@moene.indiv.nluug.nl
  c++			Jason Merrill		jason@redhat.com
  c++                     Mark Mitchell		mark@codesourcery.com
- chill			Dave Brolley		brolley@redhat.com
- chill			Per Bothner		per@bothner.com
  cpplib			Dave Brolley		brolley@redhat.com
  cpplib			Per Bothner		per@bothner.com
  cpplib			Zack Weinberg		zack@codesourcery.com
--- 77,82 ----
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.93.2.2
diff -c -p -r1.93.2.2 Makefile.in
*** Makefile.in	13 Mar 2002 01:18:31 -0000	1.93.2.2
--- Makefile.in	15 Apr 2002 16:22:09 -0000
*************** LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARG
*** 100,107 ****
  PICFLAG =
  PICFLAG_FOR_TARGET =

- CHILLFLAGS = $(CFLAGS)
- CHILL_LIB = -lchill
  CXX = c++

  # Use -O2 to stress test the compiler.
--- 100,105 ----
*************** OTHERS =
*** 178,184 ****

  # This is set by the configure script to the list of directories which
  # should be built using the target tools.
! TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx 
winsup opcodes bsp libstub cygmon libf2c libchill libobjc

  # Target libraries are put under this directory:
  # Changed by configure to $(target_alias) if cross.
--- 176,182 ----

  # This is set by the configure script to the list of directories which
  # should be built using the target tools.
! TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx 
winsup opcodes bsp libstub cygmon libf2c libobjc

  # Target libraries are put under this directory:
  # Changed by configure to $(target_alias) if cross.
*************** INSTALL_TARGET_CROSS = installdirs \
*** 235,241 ****
  # Should be substed by configure.in
  FLAGS_FOR_TARGET =
  CC_FOR_TARGET =
- CHILL_FOR_TARGET =
  CXX_FOR_TARGET =
  CXX_FOR_TARGET_FOR_RECURSIVE_MAKE =
  GCJ_FOR_TARGET =
--- 233,238 ----
*************** BASE_FLAGS_TO_PASS = \
*** 359,367 ****
  	"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
  	"CFLAGS=$(CFLAGS)" \
  	"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
- 	"CHILLFLAGS=$(CHILLFLAGS)" \
- 	"CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
- 	"CHILL_LIB=$(CHILL_LIB)" \
  	"GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
  	"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
  	"CXXFLAGS=$(CXXFLAGS)" \
--- 356,361 ----
*************** ALL_TARGET_MODULES = \
*** 789,795 ****
  	all-target-librx \
  	all-target-newlib \
  	all-target-libf2c \
- 	all-target-libchill \
  	all-target-libobjc \
  	all-target-libtermcap \
  	all-target-winsup \
--- 783,788 ----
*************** CONFIGURE_TARGET_MODULES = \
*** 813,819 ****
  	configure-target-librx \
  	configure-target-newlib \
  	configure-target-libf2c \
- 	configure-target-libchill \
  	configure-target-libobjc \
  	configure-target-libtermcap \
  	configure-target-winsup \
--- 806,811 ----
*************** CHECK_TARGET_MODULES = \
*** 836,842 ****
  	check-target-libstdc++-v3 \
  	check-target-newlib \
  	check-target-libf2c \
- 	check-target-libchill \
  	check-target-libobjc \
  	check-target-winsup \
  	check-target-libiberty \
--- 828,833 ----
*************** INSTALL_TARGET_MODULES = \
*** 853,859 ****
  	install-target-libstdc++-v3 \
  	install-target-newlib \
  	install-target-libf2c \
- 	install-target-libchill \
  	install-target-libobjc \
  	install-target-libtermcap \
  	install-target-winsup \
--- 844,849 ----
*************** CLEAN_TARGET_MODULES = \
*** 942,948 ****
  	clean-target-librx \
  	clean-target-newlib \
  	clean-target-libf2c \
- 	clean-target-libchill \
  	clean-target-libobjc \
  	clean-target-winsup \
  	clean-target-libgloss \
--- 932,937 ----
*************** all-target-libstub: configure-target-lib
*** 1787,1794 ****
  all-libtool:
  configure-target-libf2c: $(ALL_GCC_C)
  all-target-libf2c: configure-target-libf2c all-target-libiberty
- configure-target-libchill: $(ALL_GCC_C)
- all-target-libchill: configure-target-libchill all-target-libiberty
  configure-target-libobjc: $(ALL_GCC_C)
  all-target-libobjc: configure-target-libobjc all-target-libiberty
  all-m4: all-libiberty all-texinfo
--- 1776,1781 ----
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.119.2.8
diff -c -p -r1.119.2.8 configure.in
*** configure.in	10 Apr 2002 02:52:12 -0000	1.119.2.8
--- configure.in	15 Apr 2002 16:22:09 -0000
*************** target_libs="target-libiberty \
*** 73,79 ****
  		target-librx \
  		${libstdcxx_version} \
  		target-libf2c \
- 		target-libchill \
  		${libgcj}
  		target-libobjc"

--- 73,78 ----
*************** case $CC_FOR_TARGET in
*** 1539,1558 ****
  *) CC_FOR_TARGET=$CC_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
  esac

- if test "x${CHILL_FOR_TARGET+set}" = xset; then
-   :
- elif test -d ${topsrcdir}/gcc; then
-   CHILL_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/ -L$$r/gcc/ch/runtime/'
- elif test "$host" = "$target"; then
-   CHILL_FOR_TARGET='$(CC)'
- else
-   CHILL_FOR_TARGET=`echo gcc | sed -e 's/x/x/' ${program_transform_name}`
- fi
- case $CHILL_FOR_TARGET in
- *' $(FLAGS_FOR_TARGET)') ;;
- *) CHILL_FOR_TARGET=$CHILL_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
- esac
-
  if test "x${GCJ_FOR_TARGET+set}" = xset; then
    :
  elif test -d ${topsrcdir}/gcc; then
--- 1538,1543 ----
*************** s:^TARGET_CONFIGDIRS[ 	]*=.*$:TARGET_CON
*** 1599,1605 ****
  s%^TARGET_CONFIGARGS[ 	]*=.*$%TARGET_CONFIGARGS = ${targargs}%
  s%^FLAGS_FOR_TARGET[ 	]*=.*$%FLAGS_FOR_TARGET = ${FLAGS_FOR_TARGET}%
  s%^CC_FOR_TARGET[ 	]*=.*$%CC_FOR_TARGET = ${CC_FOR_TARGET}%
- s%^CHILL_FOR_TARGET[ 	]*=.*$%CHILL_FOR_TARGET = ${CHILL_FOR_TARGET}%
  s%^GCJ_FOR_TARGET[      ]*=.*$%GCJ_FOR_TARGET = ${GCJ_FOR_TARGET}%
  s%^CXX_FOR_TARGET[ 	]*=.*$%CXX_FOR_TARGET = ${qCXX_FOR_TARGET}%
  s%^CXX_FOR_TARGET_FOR_RECURSIVE_MAKE[ 
	]*=.*$%CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = ${qqCXX_FOR_TARGET}%
--- 1584,1589 ----
Index: gcc/gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.296.2.10
diff -c -p -r1.296.2.10 gcc.c
*** gcc/gcc.c	4 Apr 2002 07:19:57 -0000	1.296.2.10
--- gcc/gcc.c	15 Apr 2002 16:22:11 -0000
*************** static const struct compiler default_com
*** 823,829 ****
    {".F", "#Fortran", 0}, {".FOR", "#Fortran", 0}, {".FPP", "#Fortran", 0},
    {".r", "#Ratfor", 0},
    {".p", "#Pascal", 0}, {".pas", "#Pascal", 0},
-   {".ch", "#Chill", 0}, {".chi", "#Chill", 0},
    {".java", "#Java", 0}, {".class", "#Java", 0},
    {".zip", "#Java", 0}, {".jar", "#Java", 0},
    /* Next come the entries for C.  */
--- 823,828 ----
Index: gcc/doc/frontends.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/frontends.texi,v
retrieving revision 1.1
diff -c -p -r1.1 frontends.texi
*** gcc/doc/frontends.texi	11 Nov 2001 11:31:24 -0000	1.1
--- gcc/doc/frontends.texi	15 Apr 2002 16:22:12 -0000
***************
*** 4,20 ****
  @c For copying conditions, see the file gcc.texi.

  @node G++ and GCC
! @chapter Compile C, C++, Objective-C, Ada, CHILL, Fortran, or Java

  @cindex Objective-C
  @cindex Fortran
  @cindex Java
- @cindex CHILL
  @cindex Ada
! Several versions of the compiler (C, C++, Objective-C, Ada, CHILL,
  Fortran, and Java) are integrated; this is why we use the name
  ``GNU Compiler Collection''.  GCC can compile programs written in any of 
these
! languages.  The Ada, CHILL, Fortran, and Java compilers are described in
  separate manuals.

  @cindex GCC
--- 4,19 ----
  @c For copying conditions, see the file gcc.texi.

  @node G++ and GCC
! @chapter Compile C, C++, Objective-C, Ada, Fortran, or Java

  @cindex Objective-C
  @cindex Fortran
  @cindex Java
  @cindex Ada
! Several versions of the compiler (C, C++, Objective-C, Ada,
  Fortran, and Java) are integrated; this is why we use the name
  ``GNU Compiler Collection''.  GCC can compile programs written in any of 
these
! languages.  The Ada, Fortran, and Java compilers are described in
  separate manuals.

  @cindex GCC
Index: gcc/doc/sourcebuild.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/sourcebuild.texi,v
retrieving revision 1.3.4.1
diff -c -p -r1.3.4.1 sourcebuild.texi
*** gcc/doc/sourcebuild.texi	8 Mar 2002 14:43:54 -0000	1.3.4.1
--- gcc/doc/sourcebuild.texi	15 Apr 2002 16:22:12 -0000
*************** language front ends, and test suites.  @
*** 50,58 ****
  @item include
  Headers for the @code{libiberty} library.

- @item libchill
- The CHILL runtime library.
-
  @item libf2c
  The Fortran runtime library.

--- 50,55 ----
Index: gcc/doc/standards.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/standards.texi,v
retrieving revision 1.3.2.2
diff -c -p -r1.3.2.2 standards.texi
*** gcc/doc/standards.texi	3 Apr 2002 00:13:51 -0000	1.3.2.2
--- gcc/doc/standards.texi	15 Apr 2002 16:22:12 -0000
***************
*** 1,4 ****
! @c Copyright (C) 2000, 2001 Free Software Foundation, Inc.
  @c This is part of the GCC manual.
  @c For copying conditions, see the file gcc.texi.

--- 1,4 ----
! @c Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
  @c This is part of the GCC manual.
  @c For copying conditions, see the file gcc.texi.

*************** information as well.
*** 177,185 ****
  @xref{Top, GNAT Reference Manual, About This Guide, gnat_rm,
  GNAT Reference Manual}, for information on standard
  conformance and compatibility of the Ada compiler.
-
- @xref{References,,Language Definition References, chill, GNU Chill},
- for details of the CHILL standard.

  @xref{Language,,The GNU Fortran Language, g77, Using and Porting GNU
  Fortran}, for details of the Fortran language supported by GCC@.
--- 177,182 ----
Index: gcc/f/g77.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/f/g77.texi,v
retrieving revision 1.90
diff -c -p -r1.90 g77.texi
*** gcc/f/g77.texi	2 Feb 2002 11:42:18 -0000	1.90
--- gcc/f/g77.texi	15 Apr 2002 16:22:16 -0000
*************** files and accepts Fortran-specific comma
*** 841,847 ****
  command-line options that are designed to cater to Fortran users
  but apply to other languages as well.

! @xref{G++ and GCC,,Compile C; C++; Objective-C; Ada; CHILL; Fortran;
  or Java,gcc,Using the GNU Compiler Collection (GCC)},
  for information on the way different languages are handled
  by the GNU CC compiler (@command{gcc}).
--- 841,847 ----
  command-line options that are designed to cater to Fortran users
  but apply to other languages as well.

! @xref{G++ and GCC,,Compile C; C++; Objective-C; Ada; Fortran;
  or Java,gcc,Using the GNU Compiler Collection (GCC)},
  for information on the way different languages are handled
  by the GNU CC compiler (@command{gcc}).
Index: maintainer-scripts/gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.8
diff -c -p -r1.8 gcc_release
*** maintainer-scripts/gcc_release	24 Feb 2002 01:37:10 -0000	1.8
--- maintainer-scripts/gcc_release	15 Apr 2002 16:22:20 -0000
*************** build_tarfiles() {
*** 268,274 ****

    # Now, build one for each of the languages.
    build_tarfile gcc-ada-${RELEASE} ${ADA_DIRS}
-   build_tarfile gcc-chill-${RELEASE} ${CHILL_DIRS}
    build_tarfile gcc-g++-${RELEASE} ${CPLUSPLUS_DIRS}
    build_tarfile gcc-g77-${RELEASE} ${FORTRAN_DIRS}
    build_tarfile gcc-java-${RELEASE} ${JAVA_DIRS}
--- 268,273 ----
*************** build_tarfiles() {
*** 277,283 ****

    # The core is everything else.
    EXCLUDES=""
!   for x in ${ADA_DIRS} ${CHILL_DIRS} ${CPLUSPLUS_DIRS} ${FORTRAN_DIRS} \
  	   ${JAVA_DIRS} ${OBJECTIVEC_DIRS} ${TESTSUITE_DIRS}; do
      EXCLUDES="${EXCLUDES} --exclude $x"
    done
--- 276,282 ----

    # The core is everything else.
    EXCLUDES=""
!   for x in ${ADA_DIRS} ${CPLUSPLUS_DIRS} ${FORTRAN_DIRS} \
  	   ${JAVA_DIRS} ${OBJECTIVEC_DIRS} ${TESTSUITE_DIRS}; do
      EXCLUDES="${EXCLUDES} --exclude $x"
    done
*************** SOURCE_DIRECTORY=""
*** 409,415 ****
  # The directories that should be part of the various language-specific
  # tar files.  These are all relative to the top of the source tree.
  ADA_DIRS="gcc/ada"
- CHILL_DIRS="gcc/ch libchill"
  CPLUSPLUS_DIRS="gcc/cp libstdc++-v3"
  FORTRAN_DIRS="gcc/f libf2c"
  JAVA_DIRS="gcc/java libjava libffi fastjar zlib boehm-gc"
--- 408,413 ----
*************** SOURCE_DIRECTORY="${WORKING_DIRECTORY}/g
*** 538,544 ****
  # Recompute the names of all the language-specific directories,
  # relative to the WORKING_DIRECTORY.
  ADA_DIRS=`adjust_dirs ${ADA_DIRS}`
- CHILL_DIRS=`adjust_dirs ${CHILL_DIRS}`
  CPLUSPLUS_DIRS=`adjust_dirs ${CPLUSPLUS_DIRS}`
  FORTRAN_DIRS=`adjust_dirs ${FORTRAN_DIRS}`
  JAVA_DIRS=`adjust_dirs ${JAVA_DIRS}`
--- 536,541 ----



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]