https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65130
--- Comment #8 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Cannot reproduce. Fixed on mainline by: commit b9cb01c10d90420929551763dae489c1ef53af93 Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sun Mar 1 01:08:47 2015 +0000 * ipa-inline.c (can_inline_edge_p): Match opt_for_fn on inline target; also match flag_ipa_devirt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221084 138bc75d-0d04-0410-961f-82ee72b054a4 Can we close this PR, or is the above patch just papering over the issue?