This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24201] Potential problems with HOT_TEXT_SECTION_NAME
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2005 22:36:25 -0000
- Subject: [Bug c/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 #2 from hjl at lucon dot org 2005-10-04 22:36 -------
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.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24201