re PR c/71719 (invalid set-but-not-used warning with vectors)
authorJakub Jelinek <jakub@redhat.com>
Sat, 2 Jul 2016 06:41:29 +0000 (08:41 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 2 Jul 2016 06:41:29 +0000 (08:41 +0200)
commit557e8c49cf47555401cf07c020ebdf6ddd4296b5
tree8613a51002d3befa50a1a23aaf8eeee136366785
parent547ef7ded59554fcf8fb59dab0769e9c0004c696
re PR c/71719 (invalid set-but-not-used warning with vectors)

PR c/71719
* c-typeck.c (mark_exp_read): Handle VIEW_CONVERT_EXPR.

* c-c++-common/Wunused-var-15.c: New test.

From-SVN: r237937
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wunused-var-15.c [new file with mode: 0644]