Joerg Wunsch schrieb:
As Georg-Johann Lay wrote:

As fas as I know the only reason why avr-libc used mode attribute is to factor out impact of -mint8, ...


No, our previous definitions were -mint8 clean, AFAICT.  It just
looked more elegant to use GCC's mode attributes to ensure certain bit
widths, so when someone was proposing that change, we accepted it.

If avr-libc does not want to factor out -mint8 then it is even simplen: just

typedef signed long int32_t;

There's absolutely no rationale for using mode attribute as sizeof(long) is defined by the implementation and won't change at will.

Johann


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to