Are 8-byte ints guaranteed?
Tim Prince
timothyprince@sbcglobal.net
Sun Jul 16 20:24:00 GMT 2006
Thomas Koenig wrote:
> Hello world,
>
> are there any platforms where gcc doesn't support 8-byte ints?
> Can a front end depend on this?
>
> This would make life easier for Fortran, for example, because we
> could use INTEGER(KIND=8) for a lot of interfaces without having
> to bother with checks for the presence of KIND=8 integers.
>
No doubt, there are such platforms, although I doubt there is sufficient
interest in running gfortran on them. Support for 64-bit integers on
common 32-bit platforms is rather inefficient, when it is done by pairs
of 32-bit integers.
More information about the Gcc
mailing list