This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add word-sized conversion functions to libgcc2


>   - Make compiling libgcc2.c a no-op if LIBGCC2_UNITS_PER_WORD
>     > MIN_UNITS_PER_WORD.

This totally breaks m32c-elf, which has MIN_UNITS_PER_WORD == 2 and
LIBGCC_UNITS_PER_WORD == 4.  The whole file goes away and nearly every
program stops compiling.

m32c-elf is a 16 bit port with 64 bit "long long", which forces
libgcc2's units per word to 4:

# elif (MIN_UNITS_PER_WORD > 2 \
        || (MIN_UNITS_PER_WORD > 1 && LONG_LONG_TYPE_SIZE > 32))
#  define LIBGCC2_UNITS_PER_WORD 4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]