OSDN Git Service

PR c++/44108
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 17:24:32 +0000 (17:24 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 17:24:32 +0000 (17:24 +0000)
commitd7e4f0dbffc772e8f40d2d91ccd517727cfb2267
tree786dcd92a7ad0fc0015905fd8c1894a4eca21613
parentfebcf1b8e1ae674ed82a1586b4a9b41a962b76d3
PR c++/44108
* decl.c (compute_array_index_type): Call mark_rvalue_use.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159497 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wunused-var-8.c [new file with mode: 0644]