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
e813ee34
Commit
e813ee34
authored
Jun 09, 2017
by
Jan Hubicka
Committed by
Jan Hubicka
Jun 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* predict.c (unlikely_executed_stmt_p): Cleanup.
From-SVN: r249068
parent
f66e6423
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+4
-0
gcc/predict.c
+3
-2
No files found.
gcc/ChangeLog
View file @
e813ee34
2017
-
06
-
09
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
predict
.
c
(
unlikely_executed_stmt_p
):
Cleanup
.
2017
-
06
-
09
Richard
Biener
<
rguenther
@
suse
.
de
>
2017
-
06
-
09
Richard
Biener
<
rguenther
@
suse
.
de
>
*
tree
-
ssa
-
loop
-
im
.
c
(
execute_sm
):
Do
not
force
multi
-
threaded
*
tree
-
ssa
-
loop
-
im
.
c
(
execute_sm
):
Do
not
force
multi
-
threaded
...
...
gcc/predict.c
View file @
e813ee34
...
@@ -797,10 +797,11 @@ unlikely_executed_stmt_p (gimple *stmt)
...
@@ -797,10 +797,11 @@ unlikely_executed_stmt_p (gimple *stmt)
cgraph_node
*
n
=
cgraph_node
::
get
(
decl
);
cgraph_node
*
n
=
cgraph_node
::
get
(
decl
);
if
(
!
n
)
if
(
!
n
)
return
false
;
return
false
;
enum
availability
avail
;
availability
avail
;
n
=
n
->
ultimate_alias_target
(
&
avail
);
n
=
n
->
ultimate_alias_target
(
&
avail
);
if
(
avail
<
AVAIL_AVAILABLE
)
if
(
avail
<
AVAIL_AVAILABLE
)
return
NULL
;
return
false
;
if
(
!
n
->
analyzed
if
(
!
n
->
analyzed
||
n
->
decl
==
current_function_decl
)
||
n
->
decl
==
current_function_decl
)
return
false
;
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