This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Make gcov_type unsigned.


Jan Hubicka wrote:
> Hmm, this can make writing the code to update profiles even more
> problematic than it is now.
> It is easy to get negative counters when profile is inexact and detect
> the underflows in signed arithmetics, but in unsigned it is little bit
> unnatural and since this is easy to get wrong, I am not quite sure this
> is best idea.
How can the profile be 'inexact' -- what do you mean? Is it a rounding
error thing?

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]