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] |
After Steven B.'s patch to improve SMALL_REGISTER_CLASSES to check the mode, mips stopped to build. /home/apinski/src/gcc-fsf/local//gcc/gcc/config/mips/mips.c:10724: error: static declaration of âmips_small_register_classes_for_mode_pâ follows non-static declaration I fixed this by moving the definition of TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P to mips.c from mips.h like all other target hooks are defined. Committed as obvious after a cross build to mips64-linux. Thanks, Andrew Pinski ChangeLog: * config/mips/mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Delete * config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): New define. * config/mips/mips-protos.h (mips_small_register_classes_for_mode_p): Delete prototype.
Attachment:
fixmips.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |