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]

Re: UNITS_PER_WORD change wrong on MIPS


    The problem seems to be the definition to UNITS_PER_WORD in
    config/mips/mips.h as:
    #define UNITS_PER_WORD ((unsigned int) (TARGET_64BIT ? 8 : 4))

    Removing the (unsigned int) fixed the problem.  But what's the proper
    fix?

*Very* hard to say.  Certainly that fix is needed, but the need for it
points out that the pre-processor isn't getting the current macro right
either.  I think we need a MIN_UNITS_PER_WORD which is constant for that
purpose.  I'll work on that.

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