diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-05-29 19:07:57 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-05-29 19:07:57 +0200 |
commit | 69ce0c8c77e177c138e59d11434676f81425999c (patch) | |
tree | 2388274854b71291d640d9534de36845f1f12e08 /gcc/tree-vrp.c | |
parent | fec0bf3084f5d5531fcdc81e13b4813db31a1750 (diff) | |
download | gcc-69ce0c8c77e177c138e59d11434676f81425999c.zip gcc-69ce0c8c77e177c138e59d11434676f81425999c.tar.gz gcc-69ce0c8c77e177c138e59d11434676f81425999c.tar.bz2 |
re PR c++/85952 (Bogus -Wunused-but-set-variable warning with array structured binding)
PR c++/85952
* init.c (build_aggr_init): For structured binding initialized from
array call mark_rvalue_use on the initializer.
* g++.dg/warn/Wunused-var-33.C: New test.
From-SVN: r260899
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions