makefile.in (stageprofile_flags_to_pass): use -fprofile-generate.
authorJan Hubicka <jh@suse.cz>
Tue, 6 Jan 2004 22:49:44 +0000 (23:49 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 6 Jan 2004 22:49:44 +0000 (22:49 +0000)
* makefile.in (stageprofile_flags_to_pass): use -fprofile-generate.
(stagefeedback_flags_to_pass): use -fprofile-use.

From-SVN: r75486

gcc/ChangeLog
gcc/Makefile.in

index 6265cbeb901acb5e22a8da7cc3600ba3f0bca401..1dd64dc8fbb63991f09057cbc86324bb4db985cd 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 592acd81ef9402ba2fb67e1b22de85a8e92e795d..8c9ac440b6e353de2e7cf78baaa9132968893fd1 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