[Bug fortran/21918] New: Warnings about unused variables should point to the declaration
schnetter at aei dot mpg dot de
gcc-bugzilla@gcc.gnu.org
Sat Jun 4 23:03:00 GMT 2005
Warnings about unused variables should point to the declaration of the
variable. Currently the warning points to the first line of the procedure
where the variable is declared:
subroutine a (x, y)
implicit none
integer x
integer y
x = 1
end subroutine a
$ ~/gcc/bin/gfortran -c -Wall unused.f90
unused.f90: In function 'a':
unused.f90:1: warning: unused variable 'y'
--
Summary: Warnings about unused variables should point to the
declaration
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schnetter at aei dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21918
More information about the Gcc-bugs
mailing list