This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29630] New: "Unclassifiable statement" with vector subscripts in initialization


erik:~/gcc$ cat bug.f90 
program init
    implicit none
    integer, parameter :: a1(6) = [1, 2, 3, 4, 5, 6]
    integer, parameter :: b1(3) = a1([1,2,3])
end program init
erik:~/gcc$ gfortran bug.f90 
 In file bug.f90:4

    integer, parameter :: b1(3) = a1([1,2,3])
   1
Error: Unclassifiable statement at (1)


-- 
           Summary:  "Unclassifiable statement" with vector subscripts in
                    initialization
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: eedelman at gcc dot gnu dot org
        ReportedBy: eedelman at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]