aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-06-05 18:36:12 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-06-05 16:36:12 +0000
commit8f231b5d874dcb328c5bbd73519ef7dfbe41c843 (patch)
tree9375614623f28bf1e529f1905796682177a852ae /gcc
parent842a431a9afc461050e98fe241d036232713cfaf (diff)
downloadgcc-8f231b5d874dcb328c5bbd73519ef7dfbe41c843.zip
gcc-8f231b5d874dcb328c5bbd73519ef7dfbe41c843.tar.gz
gcc-8f231b5d874dcb328c5bbd73519ef7dfbe41c843.tar.bz2
install.tex: Document profiledbootstrap.
* install.tex: Document profiledbootstrap. * Makefile.tpl (profiledbootstrap): New target. * Makefile.in (profiledbootstrap): New target. * Makefile.in (clean, distclean): Kill new stages (POSTSTAGE1_FLAGS_TO_PASS): Break from ... (STAGE2_FLAGS_TO_PASS): ... this one. (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New. (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS. (stageprofile_build, stageprofile_copy, stagefeedback_build, stagefeedback_copy): New. (restageprofile, restagefeedback, stageprofile-start, stageprofile, stagefeedback-start): Likewise. * Make-lang.in: Add support for stageprofile and stagefeedback From-SVN: r67498
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog14
-rw-r--r--gcc/Makefile.in123
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/Make-lang.in6
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.in4
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/Make-lang.in4
-rw-r--r--gcc/doc/install.texi18
-rw-r--r--gcc/f/ChangeLog4
-rw-r--r--gcc/f/Make-lang.in8
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/Make-lang.in4
-rw-r--r--gcc/objc/Make-lang.in6
-rw-r--r--gcc/treelang/ChangeLog4
-rw-r--r--gcc/treelang/Make-lang.in4
16 files changed, 205 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1b1ad9a..1860a2c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,17 @@
+Thu Jun 5 18:32:46 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * install.tex: Document profiledbootstrap.
+
+ * Makefile.in (clean, distclean): Kill new stages
+ (POSTSTAGE1_FLAGS_TO_PASS): Break from ...
+ (STAGE2_FLAGS_TO_PASS): ... this one.
+ (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
+ (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
+ (stageprofile_build, stageprofile_copy, stagefeedback_build,
+ stagefeedback_copy): New.
+ (restageprofile, restagefeedback, stageprofile-start,
+ stageprofile, stagefeedback-start): Likewise.
+
2003-06-05 David Miller <davem@redhat.com>
Richard Henderson <rth@redhat.com>
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 76d2c8d3..5d87335 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2831,7 +2831,7 @@ clean: mostlyclean $(INTL_CLEAN) lang.clean
else if [ "x$(MULTILIB_OPTIONS)" != x ] ; then \
rm -rf `echo $(MULTILIB_OPTIONS) | sed -e 's/\// /g'`; \
fi ; fi
- -rm -fr stage1 stage2 stage3 stage4
+ -rm -fr stage1 stage2 stage3 stage4 stageprofile stagefeedback
# Delete stamps of bootstrap stages
-rm -f stage?_*
-rm -f clean?_*
@@ -2847,7 +2847,7 @@ distclean: clean $(INTL_DISTCLEAN) lang.distclean
-rm -f Make-lang Make-hooks Make-host Make-target
-rm -f Makefile *.oaux
-rm -f gthr-default.h
- -rm -f */stage1 */stage2 */stage3 */stage4 */include
+ -rm -f */stage1 */stage2 */stage3 */stage4 */include */stageprofile */stagefeedback
-rm -f c-parse.output
-rm -f *.asm
-rm -f site.exp site.bak testsuite/site.exp testsuite/site.bak
@@ -3453,19 +3453,31 @@ VOL_FILES=`echo $(BACKEND) $(OBJS) $(C_OBJS) $(LIBCPP_OBJS) *.c *.h gen*`
# Flags to pass to stage2 and later recursive makes. Note that the
# WARN_CFLAGS setting can't be to the expansion of GCC_WARN_CFLAGS in
# the context of the stage_x rule.
-STAGE2_FLAGS_TO_PASS = \
+
+POSTSTAGE1_FLAGS_TO_PASS = \
ADAC="\$$(CC)" \
GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \
CFLAGS="$(BOOT_CFLAGS)" \
LDFLAGS="$(BOOT_LDFLAGS)" \
WARN_CFLAGS="\$$(GCC_WARN_CFLAGS)" \
- WERROR="@WERROR@" \
STRICT_WARN="$(STRICT2_WARN)" \
libdir=$(libdir) \
LANGUAGES="$(LANGUAGES)" \
MAKEOVERRIDES= \
OUTPUT_OPTION="-o \$$@"
+STAGE2_FLAGS_TO_PASS = \
+ CFLAGS="$(BOOT_CFLAGS)" \
+ WERROR="@WERROR@" \
+
+STAGEPROFILE_FLAGS_TO_PASS = \
+ CFLAGS="$(BOOT_CFLAGS) -fprofile-arcs"
+
+# Files never linked into the final executable produces warnings about missing
+# profile.
+STAGEFEEDBACK_FLAGS_TO_PASS = \
+ CFLAGS="$(BOOT_CFLAGS) -fbranch-probabilities"
+
# Only build the C compiler for stage1, because that is the only one that
# we can guarantee will build with the native compiler, and also it is the
# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
@@ -3487,6 +3499,7 @@ stage1_copy: stage1_build
stage2_build: stage1_copy
$(MAKE) CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" BUILD_CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" \
STAGE_PREFIX=stage1/ \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
$(STAGE2_FLAGS_TO_PASS)
$(STAMP) stage2_build
echo stage2_build > stage_last
@@ -3496,13 +3509,48 @@ stage2_copy: stage2_build
$(STAMP) stage2_copy
echo stage3_build > stage_last
+stageprofile_build: stage1_copy
+ $(MAKE) CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" BUILD_CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" \
+ STAGE_PREFIX=stage1/ \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ $(STAGEPROFILE_FLAGS_TO_PASS)
+ $(STAMP) stageprofile_build
+ echo stageprofile_build > stage_last
+
+stageprofile_copy: stageprofile_build
+ $(MAKE) stageprofile
+ $(STAMP) stageprofile_copy
+ echo stagefeedback_build > stage_last
+
stage3_build: stage2_copy
$(MAKE) CC="$(STAGE_CC_WRAPPER) stage2/xgcc$(exeext) -Bstage2/ -B$(build_tooldir)/bin/" BUILD_CC="$(STAGE_CC_WRAPPER) stage2/xgcc$(exeext) -Bstage2/ -B$(build_tooldir)/bin/" \
STAGE_PREFIX=stage2/ \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
$(STAGE2_FLAGS_TO_PASS)
$(STAMP) stage3_build
echo stage3_build > stage_last
+stagefeedback_build: stageprofile_copy stage1_copy
+ $(MAKE) CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" BUILD_CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" \
+ STAGE_PREFIX=stage1/ \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ $(STAGEFEEDBACK_FLAGS_TO_PASS)
+ $(STAMP) stagefeedback_build
+ echo stagefeedback_build > stage_last
+
+stagefeedback_copy: stagefeedback_build
+ $(MAKE) stagefeedback
+ $(STAMP) stagefeedback_copy
+ echo stagefeedback2_build > stage_last
+
+stageprofile_build: stage1_copy
+ $(MAKE) CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" BUILD_CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" \
+ STAGE_PREFIX=stage1/ \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
+ $(STAGEPROFILE_FLAGS_TO_PASS)
+ $(STAMP) stageprofile_build
+ echo stageprofile_build > stage_last
+
# For bootstrap4:
stage3_copy: stage3_build
$(MAKE) stage3
@@ -3512,6 +3560,7 @@ stage3_copy: stage3_build
stage4_build: stage3_copy
$(MAKE) CC="$(STAGE_CC_WRAPPER) stage3/xgcc$(exeext) -Bstage3/ -B$(build_tooldir)/bin/" BUILD_CC="$(STAGE_CC_WRAPPER) stage3/xgcc$(exeext) -Bstage3/ -B$(build_tooldir)/bin/" \
STAGE_PREFIX=stage3/ \
+ $(POSTSTAGE1_FLAGS_TO_PASS) \
$(STAGE2_FLAGS_TO_PASS)
$(STAMP) stage4_build
echo stage4_build > stage_last
@@ -3547,7 +3596,7 @@ bootstrap3 bootstrap3-lean: bootstrap
bootstrap4 bootstrap4-lean: stage4_build
-unstage1 unstage2 unstage3 unstage4:
+unstage1 unstage2 unstage3 unstage4 unstageprofile unstagefeedback:
-set -vx; stage=`echo $@ | sed -e 's/un//'`; \
rm -f $$stage/as$(exeext); \
rm -f $$stage/ld$(exeext); \
@@ -3578,6 +3627,12 @@ restage3: unstage3
restage4: unstage4
$(MAKE) LANGUAGES="$(LANGUAGES)" stage4_build
+restageprofile: unstageprofile
+ $(MAKE) LANGUAGES="$(LANGUAGES)" stageprofile_build
+
+restagefeedback: unstagefeedback
+ $(MAKE) LANGUAGES="$(LANGUAGES)" stagefeedback_build
+
bubblestrap:
if test -f stage3_build; then true; else \
echo; echo You must \"make bootstrap\" first.; \
@@ -3812,6 +3867,63 @@ stage4-start:
fi; done
stage4: force stage4-start lang.stage4
+stageprofile-start:
+ -if [ -d stageprofile ] ; then true ; else mkdir stageprofile ; fi
+ $(MAKE) -f libgcc.mk libgcc-stage-start stage=stageprofile
+ -for dir in intl $(SUBDIRS) ; \
+ do \
+ if [ -d stageprofile/$$dir ] ; then true ; else mkdir stageprofile/$$dir ; fi ; \
+ done
+ -mv $(STAGESTUFF) stageprofile
+ -mv intl/*$(objext) stageprofile/intl
+# Copy as/ld if they exist to stage dir, so that running xgcc from the stage
+# dir will work properly.
+ -if [ -f as$(exeext) ] ; then (cd stageprofile && $(LN_S) ../as$(exeext) .) ; else true ; fi
+ -if [ -f ld$(exeext) ] ; then (cd stageprofile && $(LN_S) ../ld$(exeext) .) ; else true ; fi
+ -if [ -f collect-ld$(exeext) ] ; then (cd stageprofile && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi
+ -rm -f stageprofile/libgcc.a stageprofile/libgcov.a stageprofile/libgcc_eh.a
+ -cp libgcc.a stageprofile
+ -$(RANLIB_FOR_TARGET) stageprofile/libgcc.a
+ -cp libgcov.a stageprofile
+ -$(RANLIB_FOR_TARGET) stageprofile/libgcov.a
+ -if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stageprofile; \
+ $(RANLIB_FOR_TARGET) stageprofile/libgcc_eh.a; \
+ fi
+ -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \
+ cp stageprofile/$${f} . ; \
+ else true; \
+ fi; done
+stageprofile: force stageprofile-start lang.stageprofile
+
+stagefeedback-start:
+ -if [ -d stagefeedback ] ; then true ; else mkdir stagefeedback ; fi
+ $(MAKE) -f libgcc.mk libgcc-stage-start stage=stagefeedback
+ -for dir in intl $(SUBDIRS) ; \
+ do \
+ if [ -d stagefeedback/$$dir ] ; then true ; else mkdir stagefeedback/$$dir ; fi ; \
+ done
+ -mv $(STAGESTUFF) stagefeedback
+ -mv intl/*$(objext) stagefeedback/intl
+# Copy as/ld if they exist to stage dir, so that running xgcc from the stage
+# dir will work properly.
+ -if [ -f as$(exeext) ] ; then (cd stagefeedback && $(LN_S) ../as$(exeext) .) ; else true ; fi
+ -if [ -f ld$(exeext) ] ; then (cd stagefeedback && $(LN_S) ../ld$(exeext) .) ; else true ; fi
+ -if [ -f collect-ld$(exeext) ] ; then (cd stagefeedback && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi
+ -rm -f stagefeedback/libgcc.a stagefeedback/libgcov.a stagefeedback/libgcc_eh.a
+ -rm -f *.da ada/*.da cp/*.da f/*.da java/*.da objc/*.da fixinc/*.da intl po testsuite 2>/dev/null
+ -cp libgcc.a stagefeedback
+ -$(RANLIB_FOR_TARGET) stagefeedback/libgcc.a
+ -cp libgcov.a stagefeedback
+ -$(RANLIB_FOR_TARGET) stagefeedback/libgcov.a
+ -if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stagefeedback; \
+ $(RANLIB_FOR_TARGET) stagefeedback/libgcc_eh.a; \
+ fi
+ -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \
+ cp stagefeedback/$${f} . ; \
+ else true; \
+ fi; done
+stagefeedback: force stagefeedback-start lang.stagefeedback
+
# Copy just the executable files from a particular stage into a subdirectory,
# and delete the object files. Use this if you're just verifying a version
# that is pretty sure to work, and you are short of disk space.
@@ -3830,6 +3942,7 @@ risky-stage4: stage4
#In GNU Make, ignore whether `stage*' exists.
.PHONY: stage1 stage2 stage3 stage4 clean maintainer-clean TAGS bootstrap
.PHONY: risky-stage1 risky-stage2 risky-stage3 risky-stage4
+.PHONY: stagefeedback stageprofile
# Rules for generating translated message descriptions.
# Disabled by autoconf if the tools are not available.
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index ea2e1bd..ed6215e 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * Make-lang.in: Add support for stageprofile and stagefeedback
+
2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
* bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
diff --git a/gcc/ada/Make-lang.in b/gcc/ada/Make-lang.in
index c357ddb..01ef422 100644
--- a/gcc/ada/Make-lang.in
+++ b/gcc/ada/Make-lang.in
@@ -808,6 +808,12 @@ ada.stage3: stage3-start
ada.stage4: stage4-start
-$(MV) ada/*$(objext) ada/*.ali ada/b_*.c stage4/ada
-$(MV) ada/stamp-* stage4/ada
+ada.stageprofile: stageprofile-start
+ -$(MV) ada/*$(objext) ada/*.ali ada/b_*.c stageprofile/ada
+ -$(MV) ada/stamp-* stageprofile/ada
+ada.stagefeedback: stagefeedback-start
+ -$(MV) ada/*$(objext) ada/*.ali ada/b_*.c stagefeedback/ada
+ -$(MV) ada/stamp-* stagefeedback/ada
check-ada:
diff --git a/gcc/configure b/gcc/configure
index 1c61e56..557f5f0 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -8892,7 +8892,7 @@ target_list="all.build all.cross start.encap rest.encap tags \
install-normal install-common install-info install-man \
uninstall \
mostlyclean clean distclean extraclean maintainer-clean \
- stage1 stage2 stage3 stage4"
+ stage1 stage2 stage3 stage4 stageprofile stagefeedback"
for t in $target_list
do
x=
@@ -9656,7 +9656,7 @@ if test "$symbolic_link" = "ln -s"; then
if test $d != ..; then
STARTDIR=`${PWDCMD-pwd}`
cd $d
- for t in stage1 stage2 stage3 stage4 include
+ for t in stage1 stage2 stage3 stage4 include stageprofile stagefeedback
do
rm -f $t
$symbolic_link ../$t $t 2>/dev/null
diff --git a/gcc/configure.in b/gcc/configure.in
index 0db3687..9520e33 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -3014,7 +3014,7 @@ target_list="all.build all.cross start.encap rest.encap tags \
install-normal install-common install-info install-man \
uninstall \
mostlyclean clean distclean extraclean maintainer-clean \
- stage1 stage2 stage3 stage4"
+ stage1 stage2 stage3 stage4 stageprofile stagefeedback"
for t in $target_list
do
x=
@@ -3230,7 +3230,7 @@ if test "$symbolic_link" = "ln -s"; then
if test $d != ..; then
STARTDIR=`${PWDCMD-pwd}`
cd $d
- for t in stage1 stage2 stage3 stage4 include
+ for t in stage1 stage2 stage3 stage4 stageprofile stagefeedback include
do
rm -f $t
$symbolic_link ../$t $t 2>/dev/null
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2e735f3..e27e188 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * Make-lang.in: Add support for stageprofile and stagefeedback
+
2003-06-04 J"orn Rennecke <joern.rennecke@superh.com>
* decl.c (grokdeclarator): Error_mark_node in, error_mark_node out.
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index c8d27ab..0c6fb41 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -218,6 +218,10 @@ c++.stage3: stage3-start
-mv cp/*$(objext) stage3/cp
c++.stage4: stage4-start
-mv cp/*$(objext) stage4/cp
+c++.stageprofile: stageprofile-start
+ -mv cp/*$(objext) stageprofile/cp
+c++.stagefeedback: stagefeedback-start
+ -mv cp/*$(objext) stagefeedback/cp
#
# .o: .h dependencies.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index bd53a09..2dd4461 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1202,6 +1202,24 @@ following commands (assuming @command{make} is GNU make):
Currently, when compiling the Ada front end, you cannot use the parallel
build feature described in the previous section.
+@section Building with profile feedback
+
+It is possible to use profile feedback to optimize the compiler itself. This
+should result in a faster compiler binary. Experiments done on x86 using gcc
+3.3 showed approximately 7 percent speedup on compiling C programs. To
+bootstrap compiler with profile feedback, use @code{make profiledbootstrap}.
+
+When @samp{make profiledbootstrap} is run, it will first build a @code{stage1}
+compiler. This compiler is used to build a @code{stageprofile} compiler
+instrumented to collect execution counts of instruction and branch
+probabilities. Then runtime libraries are compiled with profile collected.
+Finally a @code{stagefeedback} compiler is built using the information collected.
+
+Unlike @samp{make bootstrap} several additional restrictions apply. The
+compiler used to build @code{stage1} needs to support a 64-bit integral type.
+It is recommended to only use GCC for this. Also parallel make is currently
+not supported since collisions in profile collecting may occur.
+
@html
<hr />
<p>
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 5e565ac..0ff9f99 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * Make-lang.in: Add support for stageprofile and stagefeedback
+
2003-06-04 Andreas Jaeger <aj@suse.de>
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in
index 7acba67..cf6c298 100644
--- a/gcc/f/Make-lang.in
+++ b/gcc/f/Make-lang.in
@@ -63,7 +63,8 @@ F77 f77: f771$(exeext)
f77.install-common f77.install-info f77.install-man \
f77.uninstall f77.mostlyclean f77.clean f77.distclean \
f77.extraclean f77.maintainer-clean f77.rebuilt \
- f77.stage1 f77.stage2 f77.stage3 f77.stage4
+ f77.stage1 f77.stage2 f77.stage3 f77.stage4 \
+ f77.stageprofile f77.stagefeedback
g77spec.o: $(srcdir)/f/g77spec.c $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H) \
$(CONFIG_H)
@@ -349,6 +350,11 @@ f77.stage3: stage3-start
f77.stage4: stage4-start
-mv -f $(G77STAGESTUFF) stage4/f
+f77.stageprofile: stageprofile-start
+ -mv -f $(G77STAGESTUFF) stageprofile/f
+
+f77.stagefeedback: stageprofile-start
+ -mv -f $(G77STAGESTUFF) stagefeedback/f
#
# .o: .h dependencies.
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index b41f316..2c6d3f9 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * Make-lang.in: Add support for stageprofile and stagefeedback
+
2003-05-31 Roger Sayle <roger@eyesopen.com>
* lang.c (java_init_options): Prescribe wrap-around two's
diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in
index 0440dc3..22cd1fc 100644
--- a/gcc/java/Make-lang.in
+++ b/gcc/java/Make-lang.in
@@ -263,6 +263,10 @@ java.stage3: stage3-start
-mv java/*$(objext) stage3/java
java.stage4: stage4-start
-mv java/*$(objext) stage4/java
+java.stageprofile: stageprofile-start
+ -mv java/*$(objext) stageprofile/java
+java.stagefeedback: stageprofile-start
+ -mv java/*$(objext) stagefeedback/java
#
# .o:.h dependencies.
diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in
index 1904e3d..8bc4125 100644
--- a/gcc/objc/Make-lang.in
+++ b/gcc/objc/Make-lang.in
@@ -156,3 +156,9 @@ objc.stage3: stage3-start
objc.stage4: stage4-start
-mv objc/*$(objext) stage4/objc
-mv cc1obj$(exeext) stage4
+objc.stageprofile: stageprofile-start
+ -mv objc/*$(objext) stageprofile/objc
+ -mv cc1obj$(exeext) stageprofile
+objc.stagefeedback: stagefeedback-start
+ -mv objc/*$(objext) stagefeedback/objc
+ -mv cc1obj$(exeext) stagefeedback
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index e51fcef..da01b0b 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * Make-lang.in: Add support for stageprofile and stagefeedback
+
2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (reswords): Remove __bounded__, __unbounded__.
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in
index 0027eab..604f981 100644
--- a/gcc/treelang/Make-lang.in
+++ b/gcc/treelang/Make-lang.in
@@ -266,6 +266,10 @@ treelang.stage3: stage3-start
-mv treelang/*$(objext) stage3/treelang
treelang.stage4: stage4-start
-mv treelang/*$(objext) stage4/treelang
+treelang.stageprofile: stageprofile-start
+ -mv treelang/*$(objext) stageprofile/treelang
+treelang.stagefeedback: stagefeedback-start
+ -mv treelang/*$(objext) stagefeedback/treelang
#
# Maintenance hooks: