http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48063
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-11 10:04:33 UTC --- Author: jakub Date: Fri Mar 11 10:04:30 2011 New Revision: 170867 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170867 Log: PR tree-optimization/48063 * ipa-inline.c (cgraph_decide_inlining): Don't try to inline functions called once if !tree_can_inline_p (node->callers). * gcc.dg/torture/pr48063.c: New test. Added: trunk/gcc/testsuite/gcc.dg/torture/pr48063.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-inline.c trunk/gcc/testsuite/ChangeLog