On 06/12/2012 08:44 PM, Joseph S. Myers wrote: > I'd rather have a macro HOST_WIDE_INT_C in hwint.h (like INTMAX_C etc. in > stdint.h). HOST_WIDE_INT_1 is already defined in hwint.h to either 1L or > 1LL; I'd suggest defining HOST_WIDE_INT_C to concatenate with either L or > LL (and then HOST_WIDE_INT_1 can be HOST_WIDE_INT_C (1), unconditionally).
Related, does gcc forbid "long long" / ULL ? In a recent similar GDB discussion, I noticed that libdecnumber seems to uses both unconditionally (for UINT64, and e.g., the initialization of reciprocals10_128). So if libdecnumber is always built with gcc, gcc is also already depending on "long long" / ULL being available too. -- Pedro Alves