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

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Quite interestingly, flang likes the code:

~ $ more q.f90

  program p
    call sub (null ())
  contains
    subroutine sub (a)
      integer, allocatable, intent(in) :: a
      if (allocated (a)) stop 1
    end subroutine
  end program
~ $ 

~ $ flang -c  q.f90
~ $ 

I have no idea which compiler is correct.

Reply via email to