------- Comment #7 from xinliangli at gmail dot com 2008-03-12 07:12 ------- (In reply to comment #6) > I should note that when GCC emits the annotations for profiling, it actually > emits the counter updates and all and other optimizations don't need to know > about them except if they want to know the information about what they had > provided. I Bet this is different from the compiler you were developing. >
So gcc does not generate inline sequence for update counters but via runtime library calls for counter update, or I completely misunderstood? David -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35544