This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov/profile/24487] [3.4/4.0/4.1 Regression] Basic block frequencies inaccurate
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2005 14:54:05 -0000
- Subject: [Bug gcov/profile/24487] [3.4/4.0/4.1 Regression] Basic block frequencies inaccurate
- References: <bug-24487-327@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from hubicka at gcc dot gnu dot org 2005-10-31 14:54 -------
Concerning Mark's comment (I noticed only after committing the patch). I am not
sure what exactly Mark has in mind - this situation is not actually dependend
on inlining - easilly
we might just have funcition with two loops, one initialization with large
known bounds
and other iterating as many times as the initialization one but without obvious
bounds in it.
Also all the frequency estimates we have everywhere are guessed, so we almost
never know so I don't see why dropping them in this specific case is good idea.
Even the bad estimates we had before the patch was producing better code than
no estimates at all (I've just tested on x86).
I am keeping bug open for a moment so we can clarify the idea before forgetting
abou it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24487