Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
cb89a171
Commit
cb89a171
authored
Aug 30, 2011
by
Christian Bruel
Committed by
Christian Bruel
Aug 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix -fbranch-probabilities and adjust testsuite
From-SVN: r178289
parent
54e776dc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
3 deletions
+13
-3
gcc/ChangeLog
+5
-0
gcc/coverage.c
+1
-1
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/g++.dg/bprob/bprob.exp
+1
-1
gcc/testsuite/gcc.misc-tests/bprob.exp
+1
-1
No files found.
gcc/ChangeLog
View file @
cb89a171
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>
2011-08-29 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.opt (-msave-toc-indirect): Change default
* config/rs6000/rs6000.opt (-msave-toc-indirect): Change default
gcc/coverage.c
View file @
cb89a171
...
@@ -1056,7 +1056,7 @@ coverage_init (const char *filename)
...
@@ -1056,7 +1056,7 @@ coverage_init (const char *filename)
strcpy
(
bbg_file_name
,
filename
);
strcpy
(
bbg_file_name
,
filename
);
strcat
(
bbg_file_name
,
GCOV_NOTE_SUFFIX
);
strcat
(
bbg_file_name
,
GCOV_NOTE_SUFFIX
);
if
(
flag_
profile_use
)
if
(
flag_
branch_probabilities
)
read_counts_file
();
read_counts_file
();
}
}
...
...
gcc/testsuite/ChangeLog
View file @
cb89a171
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>
2011-08-29 Jason Merrill <jason@redhat.com>
PR c++/50224
PR c++/50224
...
...
gcc/testsuite/g++.dg/bprob/bprob.exp
View file @
cb89a171
...
@@ -51,7 +51,7 @@ if $tracelevel then {
...
@@ -51,7 +51,7 @@ if $tracelevel then {
load_lib profopt.exp
load_lib profopt.exp
set profile_options "-fprofile-arcs"
set profile_options "-fprofile-arcs"
set feedback_options "-f
profile-use
"
set feedback_options "-f
branch-probabilities
"
# Main loop.
# Main loop.
foreach profile_option $profile_options feedback_option $feedback_options {
foreach profile_option $profile_options feedback_option $feedback_options {
...
...
gcc/testsuite/gcc.misc-tests/bprob.exp
View file @
cb89a171
...
@@ -48,7 +48,7 @@ if $tracelevel then {
...
@@ -48,7 +48,7 @@ if $tracelevel then {
load_lib profopt.exp
load_lib profopt.exp
set profile_options "-fprofile-arcs"
set profile_options "-fprofile-arcs"
set feedback_options "-f
profile-use
"
set feedback_options "-f
branch-probabilities
"
foreach profile_option $profile_options feedback_option $feedback_options {
foreach profile_option $profile_options feedback_option $feedback_options {
foreach src [lsort [glob -nocomplain $srcdir/$subdir/bprob-*.c]] {
foreach src [lsort [glob -nocomplain $srcdir/$subdir/bprob-*.c]] {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment