Patchwork [build] Remove extra_passes

login
register
mail settings
Submitter Rainer Orth
Date March 12, 2012, 4:11 p.m.
Message ID <ydd4nttlryr.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/146147/
State New
Headers show

Comments

Rainer Orth - March 12, 2012, 4:11 p.m.
As suggested, this patch removes the now unused extra_passes mechanism.

Bootstrapped with no regressions on i386-pc-solaris2.11, ok for
mainline?

	Rainer


2012-03-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config.gcc (extra_passes): Remove.
	* configure.ac (extra_passes): Don't substitute.
	* configure: Regenerate.
	* Makefile.in (EXTRA_PASSES): Remove.
	(GCC_PASSES): Remove $(EXTRA_PASSES).
	(MOSTLYCLEANFILES): Likewise.
	(native): Likewise.
	(install-common): Likewise.
Richard Guenther - March 13, 2012, 8:13 a.m.
On Mon, Mar 12, 2012 at 5:11 PM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> As suggested, this patch removes the now unused extra_passes mechanism.
>
> Bootstrapped with no regressions on i386-pc-solaris2.11, ok for
> mainline?

Ok.

Thanks,
Richard.

>        Rainer
>
>
> 2012-03-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
>
>        * config.gcc (extra_passes): Remove.
>        * configure.ac (extra_passes): Don't substitute.
>        * configure: Regenerate.
>        * Makefile.in (EXTRA_PASSES): Remove.
>        (GCC_PASSES): Remove $(EXTRA_PASSES).
>        (MOSTLYCLEANFILES): Likewise.
>        (native): Likewise.
>        (install-common): Likewise.
>
>
>
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>

Patch

# HG changeset patch
# Parent 72aa91c9cd9c14a295c4c4f7c8e60b83e9ce7f2f
Remove extra_passes

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -670,11 +670,8 @@  INHIBIT_LIBC_CFLAGS = -Dinhibit_libc
 endif
 
 # List of extra executables that should be compiled for this target machine
-# that are used for compiling from source code to object code.
+# that are used when linking.
 # The rules for compiling them should be in the t-* file for the machine.
-EXTRA_PASSES =@extra_passes@
-
-# Like EXTRA_PASSES, but these are used when linking.
 EXTRA_PROGRAMS = @extra_programs@
 
 # List of extra object files that should be compiled and linked with
@@ -724,7 +721,7 @@  COMPILERS = cc1$(exeext) @all_compilers@
 
 # List of things which should already be built whenever we try to use xgcc
 # to compile anything (without linking).
-GCC_PASSES=xgcc$(exeext) cc1$(exeext) specs $(EXTRA_PASSES)
+GCC_PASSES=xgcc$(exeext) cc1$(exeext) specs
 
 # Directory to link to, when using the target `maketest'.
 DIR = ../gcc
@@ -1481,7 +1478,7 @@  MOSTLYCLEANFILES = insn-flags.h insn-con
  tm-preds.h tm-constrs.h checksum-options \
  tree-check.h min-insn-modes.c insn-modes.c insn-modes.h \
  genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-input.list \
- xgcc$(exeext) cpp$(exeext) cc1$(exeext) $(EXTRA_PASSES) \
+ xgcc$(exeext) cpp$(exeext) cc1$(exeext) \
  $(EXTRA_PROGRAMS) gcc-cross$(exeext) \
  $(SPECS) collect2$(exeext) gcc-ar$(exeext) gcc-nm$(exeext) \
  gcc-ranlib$(exeext) \
@@ -1717,7 +1714,7 @@  rest.encap: lang.rest.encap
 # This is what is made with the host's compiler
 # whether making a cross compiler or not.
 native: config.status auto-host.h build-@POSUB@ $(LANGUAGES) \
-	$(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2) lto-wrapper$(exeext) \
+	$(EXTRA_PROGRAMS) $(COLLECT2) lto-wrapper$(exeext) \
 	gcc-ar$(exeext) gcc-nm$(exeext) gcc-ranlib$(exeext)
 
 ifeq ($(enable_plugin),yes)
@@ -4561,7 +4558,7 @@  install-common: native lang.install-comm
 	  else true; \
 	  fi; \
 	done
-	for file in $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2) ..; do \
+	for file in $(EXTRA_PROGRAMS) $(COLLECT2) ..; do \
 	  if [ x"$$file" != x.. ]; then \
 	    rm -f $(DESTDIR)$(libexecsubdir)/$$file; \
 	    $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \
diff --git a/gcc/config.gcc b/gcc/config.gcc
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -129,10 +129,8 @@ 
 #			such a system header; otherwise "none", do not
 #			provide such a header at all.
 #
-#  extra_passes		List of extra executables compiled for this target
-#			machine, used for compiling from source to object.
-#
-#  extra_programs	Like extra_passes, but these are used when linking.
+#  extra_programs	List of extra executables compiled for this target
+#			machine, used when linking.
 #
 #  extra_options	List of target-dependent .opt files.
 #
@@ -205,7 +203,6 @@  user_headers_inc_next_pre=
 user_headers_inc_next_post=
 use_gcc_tgmath=yes
 use_gcc_stdint=none
-extra_passes=
 extra_programs=
 extra_objs=
 extra_gcc_objs=
diff --git a/gcc/configure.ac b/gcc/configure.ac
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -4974,7 +4974,6 @@  AC_SUBST(user_headers_inc_next_pre)
 AC_SUBST(user_headers_inc_next_post)
 AC_SUBST(extra_headers_list)
 AC_SUBST(extra_objs)
-AC_SUBST(extra_passes)
 AC_SUBST(extra_programs)
 AC_SUBST(float_h_file)
 AC_SUBST(gcc_config_arguments)