This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug fortran/52668] [4.7/4.8 Regression] Incorrect unused warning for USE associating variable in common block


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52668

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-04-06 18:31:19 UTC ---
Author: tkoenig
Date: Fri Apr  6 18:31:11 2012
New Revision: 186199

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186199
Log:
2012-04-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/52668
    * module.c:  Only mark symbols as use_only if they have been
    imported via an only list.

2012-04-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/52668
    * gfortran.dg/use_only_6.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/use_only_6.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c
    trunk/gcc/testsuite/ChangeLog


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