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
cdf77151
Commit
cdf77151
authored
Jan 07, 2020
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert a patch from luoxhu@linux.ibm.com
From-SVN: r279971
parent
6af8819b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gcc/ipa-inline-analysis.c
+1
-1
gcc/ipa-inline.c
+2
-2
No files found.
gcc/ipa-inline-analysis.c
View file @
cdf77151
...
...
@@ -462,7 +462,7 @@ offline_size (struct cgraph_node *node, ipa_size_summary *info)
return
0
;
}
/* Estimate the growth caused by inlining NODE into all calle
r
s. */
/* Estimate the growth caused by inlining NODE into all calle
e
s. */
int
estimate_growth
(
struct
cgraph_node
*
node
)
...
...
gcc/ipa-inline.c
View file @
cdf77151
...
...
@@ -184,8 +184,8 @@ caller_growth_limits (struct cgraph_edge *e)
the function to shrink if it went over the limits by forced inlining. */
newsize
=
estimate_size_after_inlining
(
to
,
e
);
if
(
newsize
>=
ipa_size_summaries
->
get
(
what
)
->
size
&&
(
newsize
>
opt_for_fn
(
to
->
decl
,
param_large_function_insns
)
||
newsize
>
limit
)
)
&&
newsize
>
opt_for_fn
(
to
->
decl
,
param_large_function_insns
)
&&
newsize
>
limit
)
{
e
->
inline_failed
=
CIF_LARGE_FUNCTION_GROWTH_LIMIT
;
return
false
;
...
...
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