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: Fwd: Fix an issue in unused value warning for C++ frontend (PR/39551)


Le-Chun Wu wrote:

> 2009-04-14  Le-Chun Wu  <lcwu@google.com>
> 
>         PR c++/39551
>         * gcc/cp/call.c (build_over_call): Set TREE_NO_WARNING on the
>         compiler-generated INDIRECT_REF expression.
>         * gcc/cp/cvt.c (convert_to_void): Emit warning when stripping off
>         INDIRECT_REF.
>         * gcc/testsuite/g++.dg/warn/Wunused-13.C: New test.

I like this version, but since Jason has been reviewing the earlier
patches, I want to leave the actual review up to him.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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