------- Comment #22 from hubicka at gcc dot gnu dot org  2010-05-06 13:11 
-------
Testing the following patch. For some reason we skip updates of costs at
alwaysinline callers. This is wrong.

Honza

Index: ipa-inline.c
===================================================================
--- ipa-inline.c        (revision 159096)
+++ ipa-inline.c        (working copy)
@@ -664,7 +664,7 @@ update_caller_keys (fibheap_t heap, stru
   struct cgraph_edge *edge;
   cgraph_inline_failed_t failed_reason;

-  if (!node->local.inlinable || node->local.disregard_inline_limits
+  if (!node->local.inlinable
       || node->global.inlined_to)
     return;
   if (bitmap_bit_p (updated_nodes, node->uid))


-- 

hubicka at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-06 13:11:51
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43791

Reply via email to