------- Comment #21 from martin at mpa-garching dot mpg dot de 2006-08-21 11:58 ------- (In reply to comment #20) > Fixed on trunk and 4.1
Thanks! The incorrect warnings have gone away. However, if I provoke correct warnings now, the line numbers in the warning messages are really confused, e.g. for the following code: module test contains subroutine dmc_fill_cache (handle1) integer, intent(inout) :: handle1 integer foo end subroutine subroutine dmc_check_consistency (handle2) integer, intent(inout) :: handle2 integer bar call assert_read(handle2) end subroutine end module test [EMAIL PROTECTED]:~/tmp> gfortran -c fits_io.F90 -Wunused fits_io.F90: In function dmc_check_consistency: fits_io.F90:4: warning: unused variable bar fits_io.F90: In function dmc_fill_cache: fits_io.F90:14: warning: unused variable handle1 fits_io.F90:14: warning: unused variable foo Should I open a new PR for this? -- martin at mpa-garching dot mpg dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18111