fix -fbranch-probabilities and adjust testsuite
From-SVN: r178289
This commit is contained in:
parent
54e776dc2d
commit
cb89a1716c
@ -1,3 +1,8 @@
|
||||
2011-08-30 Christian Bruel <christian.bruel@st.com>
|
||||
|
||||
* coverage.c (coverage_init): Check flag_branch_probabilities instead of
|
||||
flag_profile_use.
|
||||
|
||||
2011-08-29 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||
|
||||
* config/rs6000/rs6000.opt (-msave-toc-indirect): Change default
|
||||
|
@ -1056,7 +1056,7 @@ coverage_init (const char *filename)
|
||||
strcpy (bbg_file_name, filename);
|
||||
strcat (bbg_file_name, GCOV_NOTE_SUFFIX);
|
||||
|
||||
if (flag_profile_use)
|
||||
if (flag_branch_probabilities)
|
||||
read_counts_file ();
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2011-08-30 Christian Bruel <christian.bruel@st.com>
|
||||
|
||||
* g++.dg/bprob/bprob.exp (feedback_options): Set -fbranch-probabilities.
|
||||
* gcc.misc-tests/bprob.exp (feedback_options): Likewise.
|
||||
|
||||
2011-08-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/50224
|
||||
|
@ -51,7 +51,7 @@ if $tracelevel then {
|
||||
load_lib profopt.exp
|
||||
|
||||
set profile_options "-fprofile-arcs"
|
||||
set feedback_options "-fprofile-use"
|
||||
set feedback_options "-fbranch-probabilities"
|
||||
|
||||
# Main loop.
|
||||
foreach profile_option $profile_options feedback_option $feedback_options {
|
||||
|
@ -48,7 +48,7 @@ if $tracelevel then {
|
||||
load_lib profopt.exp
|
||||
|
||||
set profile_options "-fprofile-arcs"
|
||||
set feedback_options "-fprofile-use"
|
||||
set feedback_options "-fbranch-probabilities"
|
||||
|
||||
foreach profile_option $profile_options feedback_option $feedback_options {
|
||||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/bprob-*.c]] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user