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: Trivial patch to change some memory statistic slots to longs from ints



On Sep 17, 2008, at 9:22 PM, Andrew Pinski wrote:


On Wed, Sep 17, 2008 at 6:15 PM, Bradley Lucier <lucier@math.purdue.edu> wrote:
Using it, one finds that 10,292,897,120 bytes of bitmaps and 6,449,831,120
bytes in alloc-pools are allocated with mainline for PR 26854 on
x86-64-linux. I don't have checkin privileges.

Most likely you want to use HOST_WIDEST_INT instead of long really as that will most likely be a 64bit rather than the 32bit that long or int can be on some targets.

I was thinking that it would be something of a waste to use 64-bit counters on a 32-bit machine, so I just used long.


Was this muddled thinking?

Brad


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