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

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> ---
I have a quite common "counter example", where a subroutine
is initialized on first invocation:

subroutine foo ()
  logical :: first = .true.
  write(6,*) first
  if (first) then
    first = .false.
    ! Do initialization
  end if
end subroutine foo

call foo ()
call foo ()
end

Should this one also get a warning?

Reply via email to