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/45781] [4.6 Regression] GCC incorrectly puts function in .text.unlikely


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
      Known to work|                            |4.5.1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-09-30 10:19:00 UTC ---
The decision is reasonable (I suppose partial inlining will inline the
if (!init) case) as the function is called exactly once then and thus
should be optimized for size and put into a separate section.

The question is thus, why does that break IA64 bootstrap?

If IA64 doesn't support .text.unlikely it should define
UNLIKELY_EXECUTED_TEXT_SECTION_NAME appropriately.


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