On 06/13/2012 10:35 PM, Richard Henderson wrote:
> On 2012-06-13 02:13, Pedro Alves wrote:
>> Related, does gcc forbid "long long" / ULL ?
>
>
> Normally, yes. The vmsdbgout.c file seems to use it all over though.
And git blame shows:
8d60d2bc (kenner 2001-12-02 14:38:07 +0000 41) /* Difference in seconds
between the VMS Epoch and the Unix Epoch */
8d60d2bc (kenner 2001-12-02 14:38:07 +0000 42) static const long long
vms_epoch_offset = 3506716800ll;
^^^^^^^^^^
That's my point. We've been using long long / ll for a while now without
noticing (I least I hadn't noticed the libdecnumber uses before), and nobody
seems to have tripped on any host compiler that doesn't support it. Is it
justifiable nowadays to not assume it's available?
> Cleaning that up is independent of this thread though.
Of course.
--
Pedro Alves