bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 32-bit profiling counts?


From: Wolfgang Laun
Subject: Re: 32-bit profiling counts?
Date: Sat, 6 Jun 2020 19:18:31 +0200

On Sat, 6 Jun 2020 at 17:35, Andrew J. Schorr <
aschorr@telemetry-investments.com> wrote:

> In awk.h, I think the
> relevant item is `exec_count', which is defined as `d.dl', and d.dl is a
> long.
> On my CentOS Linux x86_64 system, that's a 64-bit signed integer,
>


C99 (and GNU C) doesn't *guarantee* more than 32 bit for a long. You need
long long for 64 bit.
-W


reply via email to

[Prev in Thread] Current Thread [Next in Thread]