This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2005 22:41:08 -0000
- Subject: [Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME
- References: <bug-24201-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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