aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/options.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-06-07 19:49:06 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-07 19:49:06 +0200
commit026698d28e6eac591edfc8b1fd397e73b0503c56 (patch)
tree9683a15333492961769147bbff3993b18d63fafa /gcc/fortran/options.c
parent75522f217e551de6b210c2c2e963a8386344ae99 (diff)
downloadgcc-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