Skip to content

Commit a6b9a5b

Browse files
author
hubicka
committed
PR ipa/60243
* tree-inline.c (estimate_num_insns): Set to 1 at least. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254934 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 9fb4ef4 commit a6b9a5b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

gcc/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2017-11-19 Jan Hubicka <[email protected]>
2+
3+
PR ipa/60243
4+
* tree-inline.c (estimate_num_insns): Set to 1 at least.
5+
16
2017-11-19 Jan Hubicka <[email protected]>
27

38
PR target/82713

gcc/tree-inline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4100,7 +4100,7 @@ estimate_num_insns (gimple *stmt, eni_weights *weights)
41004100
with very long asm statements. */
41014101
if (count > 1000)
41024102
count = 1000;
4103-
return count;
4103+
return MAX (1, count);
41044104
}
41054105

41064106
case GIMPLE_RESX:

0 commit comments

Comments
 (0)