------- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-04 22:41 ------- (In reply to comment #2) > The problem is with -ffunction-sections, we may put a very big cold function > in > the .text.hot section and a very hot function in the .text.unlikely section. > It > defeats the whole purpose of .text.hot/.text.unlikely.
But -ffunction-sections disables the use hot/unlikely sections so what is the problem? Maybe you should not be mixing code compiled with and without -ffunction-sections. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor Component|c |middle-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24201