OSDN Git Service

PR bootstrap/43699
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Apr 2010 13:27:07 +0000 (13:27 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:31:39 +0000 (14:31 +0900)
commit108ce2842a9355b9a7a50a68b000ce93c95d4b73
tree445d99fee2d676d84f148b3b6ca4e1807b83d0a9
parentb0aad457fd7197636e21710ad75c0bd622299a2e
PR bootstrap/43699
* c-typeck.c (c_process_expr_stmt): Call mark_exp_read even
for exprs satisfying handled_component_p.

* gcc.dg/Wunused-var-7.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158224 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wunused-var-7.c [new file with mode: 0644]