projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66e642
)
* predict.c (unlikely_executed_stmt_p): Cleanup.
author
Jan Hubicka
<hubicka@ucw.cz>
Fri, 9 Jun 2017 18:32:47 +0000
(20:32 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Fri, 9 Jun 2017 18:32:47 +0000
(18:32 +0000)
From-SVN: r249068
gcc/ChangeLog
patch
|
blob
|
history
gcc/predict.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 6e1960f6a801d3a541480ca628f30d1b4e77c399..7dec15309b02ff6168f445bd6cfb62974e966966 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2017-06-09 Jan Hubicka <hubicka@ucw.cz>
+
+ * predict.c (unlikely_executed_stmt_p): Cleanup.
+
2017-06-09 Richard Biener <rguenther@suse.de>
* tree-ssa-loop-im.c (execute_sm): Do not force multi-threaded
diff --git
a/gcc/predict.c
b/gcc/predict.c
index ca40068c150777e22e7198364b4d0eac84b550a6..764a9151d77bf0a63438cfb2d47abe46025a38af 100644
(file)
--- a/
gcc/predict.c
+++ b/
gcc/predict.c
@@
-797,10
+797,11
@@
unlikely_executed_stmt_p (gimple *stmt)
cgraph_node *n = cgraph_node::get (decl);
if (!n)
return false;
- enum availability avail;
+
+ availability avail;
n = n->ultimate_alias_target (&avail);
if (avail < AVAIL_AVAILABLE)
- return
NULL
;
+ return
false
;
if (!n->analyzed
|| n->decl == current_function_decl)
return false;