http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55732



             Bug #: 55732

           Summary: -fno-automatic: Doesn'

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: fortran

        AssignedTo: [email protected]

        ReportedBy: [email protected]





subroutine foo(i)

  integer :: i

  integer, allocatable :: j

  if (i == 1) j = 42

  if (.not. allocated (j)) call abort ()

  if (j /= 42) call abort ()

end



call foo(1)

call foo(2)

end

Reply via email to