This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/45781] [4.6 Regression] GCC incorrectly puts function in .text.unlikely
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Oct 2010 21:28:05 +0000
- Subject: [Bug tree-optimization/45781] [4.6 Regression] GCC incorrectly puts function in .text.unlikely
- Auto-submitted: auto-generated
- References: <bug-45781-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45781
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.14 21:27:58
Ever Confirmed|0 |1
Severity|normal |enhancement
--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-10-14 21:27:58 UTC ---
Hi,
so bugzilla now gives me whole testcase. The function is indeed put into
unlikely because there are enough conditionals guarding it. By the nature of
profile propagation, I guess there is not much to do here, it is just an
estimate after all.
I am putting it as an enhancement as from the nature of code, we probably
should not rate init_target_chars much colder than the folder itself.
Honza