On Thu, 9 Jun 2005, Pat Haugen wrote:






[EMAIL PROTECTED] wrote on 06/09/2005 02:43:37 PM:

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


ChangeLog looks odd on this, Adrian changed the name of prototype and then
later Daniel came along and fixed prototype of "old" name.


2005-06-09  Daniel Berlin  <[EMAIL PROTECTED]>

     * config/rs6000/rs6000.c: (rs6000_insn_valid_within_doloop): Fix
     prototype.

Before i committed this, we had

"static bool rs6000_invalid_within_doloop

  static const char *
  rs6000_invalid_within_doloop ....
"

I had updated rs6000.c repeatedly to make sure i wasn't missing something.

I simply made the prototype at the top match the function as it actually exists in the source file.

"Defined but not used" means it exists in the source file but isn't actually used, which is a different bug :)



--Dan

Reply via email to