This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/964
- To: nobody at gcc dot gnu dot org
- Subject: Re: optimization/964
- From: Richard Henderson <rth at redhat dot com>
- Date: 17 Jan 2001 02:56:00 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Richard Henderson <rth at redhat dot com>
The following reply was made to PR optimization/964; it has been noted by GNATS.
From: Richard Henderson <rth@redhat.com>
To: Benoit Hudson <bh@techhouse.brown.edu>
Cc: rth@gcc.gnu.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: optimization/964
Date: Tue, 16 Jan 2001 18:50:23 -0800
On Tue, Jan 16, 2001 at 05:03:02PM -0500, Benoit Hudson wrote:
> > (1) The variable X is not unused -- you assigned to it.
>
> But I never read it.
Doesn't matter. All the flag does is see if the variable is
used in any context after its declaration. A write counts.
And, in particular, uses inside dead code counts.
r~