The following provokes the summary:

      subroutine sub(i)
      intent(in) i
      integer ii(10)
      data (ii(i),i=1,10) /10*0/ ! here the scope of i is the data statement
      end

Best regards
Vittorio Zecca


-- 
           Summary: rejects legal fortran
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zeccav at gmail dot com
  GCC host triplet: x86_64-unknown-linux-gnu


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

Reply via email to