This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Basic block profiling (-a) does produce wrong code for insn prologues
> On Tue, Nov 13, 2001 at 12:15:40PM +0100, Jan Hubicka wrote:
> > Hmm, while preparing the patch I noticed that, there is still feature missing.
> > -ax is able to record full trace of program (or should be if it worked).
> >
> > Are we going to happilly give up this feature? We may I guess.
> > On the other hand for experimental purpose this is nice toy..
>
> I dislike very much the way in which both -a and -ax modify code
> at assembly output time. If -ax is replaced, it should be done
> by modifing rtl like -fprofile-arcs does.
Agreed, so I will come with patch dropping both -a and -ax shortly.
We can try to re-implement the tracing as part of our school project
(more practical it can be to implement the path profiling and do
code specialization based on it)
Honza
>
>
> r~