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]

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



>Number:         892
>Category:       fortran
>Synopsis:       -Wunused complains unnecessarily for COMMON block items
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 26 08:36:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Martin Kahlert
>Release:        current snapshot
>Organization:
>Environment:
Any Linux
>Description:
This source:

      SUBROUTINE SUB
      COMMON /COM/ A
      END

evokes:

unused.f: In subroutine `sub':
unused.f:3: warning: unused variable `a'
>How-To-Repeat:
See above
>Fix:
Probably resulting from the (recent) debug-info-for-common
item resolution.
>Release-Note:
>Audit-Trail:
>Unformatted:

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