* makefile.in (stageprofile_flags_to_pass): use -fprofile-generate.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jan 2004 22:49:44 +0000 (22:49 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jan 2004 22:49:44 +0000 (22:49 +0000)
(stagefeedback_flags_to_pass): use -fprofile-use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75486 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 6265cbe..1dd64dc 100644 (file)
@@ -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
index 592acd8..8c9ac44 100644 (file)
@@ -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