Dear Janus, Thanks for the patch - it's OK for trunk and 4.7.
Cheers Paul On 19 November 2012 21:39, Janus Weil <ja...@gcc.gnu.org> wrote: > 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. -- The knack of flying is learning how to throw yourself at the ground and miss. --Hitchhikers Guide to the Galaxy