This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patches] Code cleanup - remove unused variables - part 2
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: reichelt at igpm dot rwth-aachen dot de
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Wed, 11 Sep 2002 15:48:04 -0400 (EDT)
- Subject: Re: [Patches] Code cleanup - remove unused variables - part 2
- References: <200209111609.SAA27698@numa6.igpm.rwth-aachen.de>
> From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
>
> Hi,
>
> the following patches remove unused variables (which SGI's native
> compiler keeps warning about when bootstrapping gcc). So this is just
> code clean-up to get rid of some warnings when bootstrapping under
> IRIX.
What would really be nice, is if you could modify gcc -Wunused to warn
about these situations. I.e. assigned but not used. SGI's compiler
seems to to us one better at the moment.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu