This is the mail archive of the gcc@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: Fw: Can't bootstrap mainline on powerpc64-linux




On Thu, 9 Jun 2005, Pat Haugen wrote:






pthaugen@us.ibm.com 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 <dberlin@dberlin.org>


     * 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
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]