Basic block profiling (-a) does produce wrong code for insn prologues

Richard Henderson rth@redhat.com
Fri Nov 2 02:06:00 GMT 2001


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.


r~



More information about the Gcc mailing list