projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c9290
)
re PR ipa/60243 (IPA is slow on large cgraph tree)
author
Jan Hubicka
<hubicka@ucw.cz>
Sun, 19 Nov 2017 18:55:30 +0000
(19:55 +0100)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Sun, 19 Nov 2017 18:55:30 +0000
(18:55 +0000)
PR ipa/60243
* tree-inline.c (estimate_num_insns): Set to 1 at least.
From-SVN: r254934
gcc/ChangeLog
patch
|
blob
|
history
gcc/tree-inline.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 17aa792a75f9bfaa2764a3b9a042660fda03cd23..85dc9c52463679bfcfe81b03ecf73bd96a5ee818 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+2017-11-19 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/60243
+ * tree-inline.c (estimate_num_insns): Set to 1 at least.
+
2017-11-19 Jan Hubicka <hubicka@ucw.cz>
PR target/82713
diff --git
a/gcc/tree-inline.c
b/gcc/tree-inline.c
index 6af2079b8375bfc258144bb294cd79f809290ee3..c0dc7b9679f3fa630c2a81d71665a70962167edb 100644
(file)
--- a/
gcc/tree-inline.c
+++ b/
gcc/tree-inline.c
@@
-4100,7
+4100,7
@@
estimate_num_insns (gimple *stmt, eni_weights *weights)
with very long asm statements. */
if (count > 1000)
count = 1000;
- return
count
;
+ return
MAX (1, count)
;
}
case GIMPLE_RESX: