diff options
author | Dodji Seketeli <dodji@redhat.com> | 2010-05-17 17:24:32 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-05-17 19:24:32 +0200 |
commit | ad13f2299cefa72529059e21385c4c49f1491181 (patch) | |
tree | 786dcd92a7ad0fc0015905fd8c1894a4eca21613 /gcc/doc | |
parent | f145213fcc63518e181ae5b74a38f75555f6a741 (diff) | |
download | gcc-ad13f2299cefa72529059e21385c4c49f1491181.zip gcc-ad13f2299cefa72529059e21385c4c49f1491181.tar.gz gcc-ad13f2299cefa72529059e21385c4c49f1491181.tar.bz2 |
re PR c++/44108 (-Wunused-but-set-variable does not consider array sizing use of a const variable)
PR c++/44108
* decl.c (compute_array_index_type): Call mark_rvalue_use.
* c-c++-common/Wunused-var-8.c: New test.
Co-Authored-By: Jason Merrill <jason@redhat.com>
From-SVN: r159497
Diffstat (limited to 'gcc/doc')
0 files changed, 0 insertions, 0 deletions