This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix -Wunused-value (PR c/39889)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]