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
58696ce5
Commit
58696ce5
authored
14 years ago
by
Jan Hubicka
Committed by
Jan Hubicka
14 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa-inline.c (update_callee_keys): Don't reset node growth cache.
From-SVN: r173532
parent
f5886803
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/ipa-inline.c
+3
-3
No files found.
gcc/ChangeLog
View file @
58696ce5
2011-05-06 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (update_callee_keys): Don't reset node growth cache.
2011-05-06 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_add_thunk): Create real function node instead
of alias node; finalize it and mark needed/reachale; arrange visibility
to be right and add it into the corresponding same comdat group list.
...
...
This diff is collapsed.
Click to expand it.
gcc/ipa-inline.c
View file @
58696ce5
...
...
@@ -957,9 +957,9 @@ update_callee_keys (fibheap_t heap, struct cgraph_node *node,
e
=
e
->
callee
->
callees
;
else
{
/* We
inlined and thus callees might have different number of calls.
Reset their caches */
reset_node_growth_cache
(
e
->
callee
);
/* We
do not reset callee growth cache here. Since we added a new call,
growth chould have just increased and consequentely badness metric
don't need updating. */
if
(
e
->
inline_failed
&&
inline_summary
(
e
->
callee
)
->
inlinable
&&
cgraph_function_body_availability
(
e
->
callee
)
>=
AVAIL_AVAILABLE
...
...
This diff is collapsed.
Click to expand it.
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