https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87449

Martin Diehl <m.diehl at mpie dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Martin Diehl <m.diehl at mpie dot de> ---
It appears that b does not need to be defined for associate, so


program test

  implicit none
  real :: a = 5

  associate(b => a)
    write(6,*) b
  end associate

end program


is a valid program where b is only defined within the associate construct and
no warning appears

Reply via email to