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/71782] New: internal compiler error: in gimplify_var_or_parm_decl


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

            Bug ID: 71782
           Summary: internal compiler error: in gimplify_var_or_parm_decl
           Product: gcc
           Version: 6.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: brad.finney at humboldt dot edu
  Target Milestone: ---

gfortran 6.1.0, x86_64-w64-ming32

Source (with intentional array bound error)

program defer
  implicit none
  character(len=:), dimension(:,:), allocatable::s
  s=reshape(["a12","ab3","abc","a43"],[2,2])
  write(*,*)"shape of s: ",shape(s)
  s(2,2)=s(2,3)
end program defer


gfortran -fcheck=all deferred.f90
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
deferred.f90:3:0:

   character(len=:), dimension(:,:), allocatable::s

internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1851
Please submit a full bug report,

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