This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fortran/892: -Wunused complains unnecessarily for COMMON block items
- To: gcc-gnats at gcc dot gnu dot org
- Subject: fortran/892: -Wunused complains unnecessarily for COMMON block items
- From: toon at moene dot indiv dot nluug dot nl
- Date: 26 Nov 2000 16:26:29 -0000
- Reply-To: toon at moene dot indiv dot nluug dot nl
>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: