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
ae2b0888
Commit
ae2b0888
authored
Apr 26, 2010
by
Jan Hubicka
Committed by
Jan Hubicka
Apr 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cgraphunit.c (cgraph_copy_node_for_versioning): Fix profile updating.
From-SVN: r158724
parent
98b2dfbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/ChangeLog
+4
-0
gcc/cgraphunit.c
+5
-5
No files found.
gcc/ChangeLog
View file @
ae2b0888
2010-04-26 Jan Hubicka <jh@suse.cz>
* cgraphunit.c (cgraph_copy_node_for_versioning): Fix profile updating.
2010-04-26 Richard Guenther <rguenther@suse.de>
PR lto/43080
...
...
gcc/cgraphunit.c
View file @
ae2b0888
...
...
@@ -2027,7 +2027,7 @@ cgraph_copy_node_for_versioning (struct cgraph_node *old_version,
VEC
(
cgraph_edge_p
,
heap
)
*
redirect_callers
)
{
struct
cgraph_node
*
new_version
;
struct
cgraph_edge
*
e
,
*
new_e
;
struct
cgraph_edge
*
e
;
struct
cgraph_edge
*
next_callee
;
unsigned
i
;
...
...
@@ -2046,10 +2046,10 @@ cgraph_copy_node_for_versioning (struct cgraph_node *old_version,
also cloned. */
for
(
e
=
old_version
->
callees
;
e
;
e
=
e
->
next_callee
)
{
new_e
=
cgraph_clone_edge
(
e
,
new_version
,
e
->
call_stmt
,
e
->
lto_stmt_uid
,
0
,
e
->
frequency
,
e
->
loop_nest
,
true
);
new_e
->
count
=
e
->
count
;
cgraph_clone_edge
(
e
,
new_version
,
e
->
call_stmt
,
e
->
lto_stmt_uid
,
REG_BR_PROB_BASE
,
CGRAPH_FREQ_BASE
,
e
->
loop_nest
,
true
)
;
}
/* Fix recursive calls.
If OLD_VERSION has a recursive call after the
...
...
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