Denis Chertykov wrote: > 2013/1/21 Georg-Johann Lay: >> This adds the "Embedded C" bitsfx and fxbits functions to stdfix.h. >> >> The original stdfix.h is installed as stdfix-gcc.h and included by the new, >> avr-specific stdfix.h. >> >> The implementation uses __builtin_memcpy to get a no-op implementation. >> >> Ok for trunk? >> >> Johann >> >> PR target/54222 >> * config/avr/stdfix.h: New file. >> * t-avr (stdfix-gcc.h): New rule to build it. >> (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. >> > > Approved. Please apply.
Applied with the following change: Use #if __SIZEOF_INT == 2 instead of #ifdef __INT64_TYPE__ which describes better the intention of the directive: Factor out -mint8. http://gcc.gnu.org/r195407