http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50179
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-26 14:48:13 UTC --- Author: jakub Date: Fri Aug 26 14:48:10 2011 New Revision: 178112 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178112 Log: PR c/50179 * c-typeck.c (c_process_expr_stmt): Skip over nops and call mark_exp_read even if exprv is ADDR_EXPR. * c-c++-common/Wunused-var-14.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/c-c++-common/Wunused-var-14.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/c-typeck.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog