http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-11 19:01:51 UTC --- Author: jakub Date: Tue Dec 11 19:01:45 2012 New Revision: 194415 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194415 Log: PR c++/55643 * expr.c (mark_exp_read): Handle FLOAT_EXPR similarly to NOP_EXPR. * g++.dg/warn/Wunused-var-19.C: New test. Added: trunk/gcc/testsuite/g++.dg/warn/Wunused-var-19.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/expr.c trunk/gcc/testsuite/ChangeLog