This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Warning fixes for gcc-2.95.1.
- To: Niels Kristian Bech Jensen <nkbj at image dot dk>
- Subject: Re: Warning fixes for gcc-2.95.1.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 29 Aug 1999 04:36:26 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
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