Getting glibfortran to build on newlib targets aka. missing stdint.h (PR 14325)

Richard Henderson rth@redhat.com
Tue Nov 9 06:47:00 GMT 2004


On Mon, Nov 08, 2004 at 01:40:58PM -0700, Tom Tromey wrote:
> How about defining these types using gcc-specific mode attributes?
> This is what libgcj does for jni.h..  E.g.:
> 
>     typedef int GFC_INTEGER_4 __attribute__ ((__mode__ (__SI__)));
> 
> This is portable and has the advantage of not needing any configury.

It is *not* portable.  This is a 128-bit type on c4x.

Perhaps we should introduce __attribute__((__precision__(BITS))) to
solve this problem, but that's a different question.


r~



More information about the Gcc mailing list