OSDN Git Service

PR c++/39875
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Apr 2009 05:54:32 +0000 (05:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Apr 2009 05:54:32 +0000 (05:54 +0000)
commitf8646185a37a32a7cdcc419a10b5b6e69e86d793
tree968f19673bc125b699601e6421177f0ba8940329
parentd7725f6447ab865db16dd416fbc4640993108bc3
PR c++/39875
* cvt.c (convert_to_void) <case INDIRECT_REF>: Only warn about
-Wunused-value if implicit.

* g++.dg/warn/Wunused-15.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146825 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wunused-15.C [new file with mode: 0644]