aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6265cbe..1dd64dc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-06 Jan Hubicka <jh@suse.cz>
+
+ * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
+ (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
+
2004-01-06 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 592acd8..8c9ac44 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3339,12 +3339,12 @@ STAGE2_FLAGS_TO_PASS = \
WERROR="@WERROR@" \
STAGEPROFILE_FLAGS_TO_PASS = \
- CFLAGS="$(BOOT_CFLAGS) -fprofile-arcs"
+ CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
# Files never linked into the final executable produces warnings about missing
# profile.
STAGEFEEDBACK_FLAGS_TO_PASS = \
- CFLAGS="$(BOOT_CFLAGS) -fbranch-probabilities"
+ CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
# 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