This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix -Wunused-value (PR c/39889)
- From: Ian Lance Taylor <iant at google dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Apr 2009 18:21:12 -0700
- Subject: Re: [PATCH] Fix -Wunused-value (PR c/39889)
- References: <20090424223950.GB5781@tyan-ft48-01.lab.bos.redhat.com>
Jakub Jelinek <jakub@redhat.com> writes:
> 2009-04-24 Jakub Jelinek <jakub@redhat.com>
>
> PR c/39889
> * stmt.c (warn_if_unused_value): Look through NON_LVALUE_EXPR.
>
> * gcc.dg/Wunused-value-3.c: New test.
This is OK.
Thanks.
Ian