Hi all,

here is another contribution in trying to reduce the still too large
number of regressions in the Fortran front end (which used to be
basically zero for some time in the past).

The attached patch is rather straightforward and fixes a bogus
unused-variable warning. I would be grateful for any comments, in
absence of which I will commit the patch to trunk by the end of this
week.

It was regtested on x86_64-unknown-linux-gnu. Ok for trunk and 4.7?

Cheers,
Janus



2012-11-19  Janus Weil  <ja...@gcc.gnu.org>

    PR fortran/55352
    * trans-decl.c (generate_local_decl): Don't warn for explicitly imported
    but unused module variables which are in a namelist or common block.

2012-11-19  Janus Weil  <ja...@gcc.gnu.org>

    PR fortran/55352
    * gfortran.dg/namelist_76.f90: New.

Attachment: pr55352.diff
Description: Binary data

Attachment: namelist_76.f90
Description: Binary data

Reply via email to