On Jun 9, 2005, at 12:43 PM, Pat Haugen wrote:
cc1: warnings being treated as errors /home/pthaugen/work/src/mainline/gcc/gcc/config/rs6000/rs6000.c:12538: warning: ‘rs6000_invalid_within_doloop’ defined but not used
Problem is Adrian changed TARGET_INSN_VALID_WITHIN_DOLOOP to TARGET_INVALID_WITHIN_DOLOOP most places, but not in rs6000.c. I'll commit the following as obvious after bootstrap succeeds.
Index: rs6000.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v retrieving revision 1.838 diff -u -b -r1.838 rs6000.c --- rs6000.c 9 Jun 2005 14:23:28 -0000 1.838 +++ rs6000.c 9 Jun 2005 22:46:02 -0000 @@ -906,8 +906,8 @@ #undef TARGET_FUNCTION_OK_FOR_SIBCALL #define TARGET_FUNCTION_OK_FOR_SIBCALL rs6000_function_ok_for_sibcall -#undef TARGET_INSN_VALID_WITHIN_DOLOOP -#define TARGET_INSN_VALID_WITHIN_DOLOOP rs6000_invalid_within_doloop +#undef TARGET_INVALID_WITHIN_DOLOOP +#define TARGET_INVALID_WITHIN_DOLOOP rs6000_invalid_within_doloop #undef TARGET_RTX_COSTS #define TARGET_RTX_COSTS rs6000_rtx_costs