re PR c++/44361 (-Wunused-but-set-variable vs. explicit void cast)
authorJakub Jelinek <jakub@gcc.gnu.org>
Wed, 2 Jun 2010 19:57:08 +0000 (21:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 2 Jun 2010 19:57:08 +0000 (21:57 +0200)
commit5d588f836b767bc46d790d373704b35def731e68
tree4853efd4a94d4728a564de6f956231d58242a8e9
parent9fc8daccc5fe380b2398a1a62b128d352d166478
re PR c++/44361 (-Wunused-but-set-variable vs. explicit void cast)

PR c++/44361
* cvt.c (convert_to_void): If implicit is NULL, call mark_rvalue_use
instead of calling mark_exp_read only when not an assignment.

From-SVN: r160188
gcc/cp/ChangeLog