This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is profiledbootstrap supposed to work currently?
On Oct 5, 2004, at 10:22 AM, Richard Guenther wrote:
Trying profiledbootstrap today on ia32-linux leads to
is this supposed to happen at the moment, i.e. are there pending
fixes, or
is this a genuine bug?
This was caused by the fact -funroll-loops is supplied only when
-fprofile-use is supplied and some unrolling is done on the tree level
but profiling is done on the RTL level so there is a mismatch.
This is PR 14684.
A workaround is to change -fprofile-generate to imply -funroll-loops
too.
The correct fix is most likely not going to happen fully until 4.1 with
tree based profiling.
Thanks,
Andrew Pinski