diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-06-07 19:49:06 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-06-07 19:49:06 +0200 |
commit | 026698d28e6eac591edfc8b1fd397e73b0503c56 (patch) | |
tree | 9683a15333492961769147bbff3993b18d63fafa /gcc/fortran/options.c | |
parent | 75522f217e551de6b210c2c2e963a8386344ae99 (diff) | |
download | gcc-026698d28e6eac591edfc8b1fd397e73b0503c56.zip gcc-026698d28e6eac591edfc8b1fd397e73b0503c56.tar.gz gcc-026698d28e6eac591edfc8b1fd397e73b0503c56.tar.bz2 |
re PR c++/44443 (-Wunused-but-set-variable problem with unused attribute on type)
PR c++/44443
* decl.c (initialize_local_var): If TREE_USED is set on the type,
set also DECL_READ_P on the decl.
* c-c++-common/Wunused-var-11.c: New test.
From-SVN: r160387
Diffstat (limited to 'gcc/fortran/options.c')
0 files changed, 0 insertions, 0 deletions