re PR ipa/64686 (ICE: in edge_badness, at ipa-inline.c:912 during Firefox LTO build...
authorJan Hubicka <hubicka@ucw.cz>
Thu, 5 Feb 2015 00:16:11 +0000 (01:16 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 5 Feb 2015 00:16:11 +0000 (00:16 +0000)
commitc1eed5a1541acfdfb1107a4400675c2407680ce8
tree993d68912f49770cee8eaba7e7943a5872a7dbb5
parent73d098df1f48db47e6fb2a840913fc05202378a0
re PR ipa/64686 (ICE: in edge_badness, at ipa-inline.c:912 during Firefox LTO build with enabled checking)

PR ipa/64686
* ipa-inline.c (inline_small_functions): Fix ordering issue between
speculation resolution and key updates.
* g++.dg/torture/pr64686.C: New testcase.

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