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/49693] Spurious "unused-variable" warnings for COMMON block module variables.


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

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-01-04 11:51:40 UTC ---
Author: tkoenig
Date: Wed Jan  4 11:51:37 2012
New Revision: 182869

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

    PR fortran/49693
    * trans-common.c (create_common): Update copyright years.  Mark
    variables as used to avoid warnings about unused variables in
    common blocks.

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

    PR fortran/49693
    * gfortran.dg/common_17.f90:  New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/common_17.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-common.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]