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: Warning fixes for gcc-2.95.1.


  In message <Pine.LNX.4.10.9908190937020.17380-100000@hafnium.nkbj.dk>you writ
e:

  > Wed Aug 18 14:16:33 CEST 1999 Niels Kristian Bech Jensen <nkbj@image.dk>
  > 
  > 	* gcc/Makefile.in (BOOT_CFLAGS): Remove -O2 to avoid
  > 	CFLAGS="-O2 -g -O2".
This is wrong.  This would result in -O2 not being used in all the cases
where it should be used.

  > 	* gcc/config/i386/i386.{c,h}: Declare TARGET_OPTIONS strings
  > 	`const char *'.
Someone already fixed these.

  > 	* gcc/f/com.c (ffecom_possible_partial_overlap_): Declare second
  > 	argument UNUSED.
Actually, I'd prefer a patch to remove the unused argument.  We only want to
use the unused attribute when there is no other alternative.

  > 	* gcc/reload1.c (maybe_fix_stack_asms): Declare constraints and p
  > 	`const char *'.
  > 	* install/specific.html: Add alpha*-dec-linux* to TOC.
  > 	* libiberty/cplus-dem.c (main): Declare valid_symbols
  > 	`const char *'.
Someone already fixed these too.

jeff



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