This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fortran/892: -Wunused complains unnecessarily for COMMON block items


Richard Henderson wrote:

> On Sun, Nov 26, 2000 at 04:26:29PM -0000, toon@moene.indiv.nluug.nl wrote:

> >       SUBROUTINE SUB
> >       COMMON /COM/ A
> >       END
> [...]
> > unused.f:3: warning: unused variable `a'
> 
> Fixed thus:

>         * com.c (ffecom_member_phase2_): Set TREE_USED on the debugging decl.

Thanks - amazing how I missed this needle in the 17168 line haystack :-)

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]