This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/34940] contained subroutines called only once are not inlined



------- Comment #1 from steven at gcc dot gnu dot org  2008-01-23 11:27 -------
It is not always a win.  A function called once on a cold path should not be
inlined for e.g. icache reasons.

For your test case however, CS1 should have been inlined.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-23 11:27:01
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]