This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Shut up endless "value computed is not used" warnings
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: Shut up endless "value computed is not used" warnings
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 30 Nov 2000 13:43:37 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20001129234823.U472@wolery.stanford.edu>
On Wed, Nov 29, 2000 at 11:48:23PM -0800, Zack Weinberg wrote:
> Anyhow, the idea is pretty straightforward - don't generate the
> warning for anything with side effects. I am not certain that this
> patch doesn't break the warning in cases where it should trigger,
> though.
>
> Comments?
That same test exists in the default case. Why doesn't that work?
r~