re PR ipa/64565 (ICE: in inline_small_functions, at ipa-inline.c:1664)
authorJan Hubicka <hubicka@ucw.cz>
Tue, 13 Jan 2015 20:59:37 +0000 (21:59 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 13 Jan 2015 20:59:37 +0000 (20:59 +0000)
commit2001028ad3a44e5333333c175118837dba03c620
tree16b0e6a36e132f7bfcc281898adf43947cc7246d
parent59b8926c6fe2f4320babf3fd7e7d1ca8731e3890
re PR ipa/64565 (ICE: in inline_small_functions, at ipa-inline.c:1664)

PR ipa/64565
* g++.dg/torture/pr64565.C: New testcase.
* ipa-inline.c (inline_small_functions): Update callee keys after
resolving speculation
(inline_small_functions): Always check monotonicity of the queue.

From-SVN: r219556
gcc/ChangeLog
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr64565.C [new file with mode: 0644]