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/23091] New: ICE in gfc_trans_auto_array_allocation


Subroutine My(n1)                  
      Dimension myArray(n1)
      Save     ! or 'Save myArray'
      Call xxx(myArray)      
      Return                                              
      End                                                

gives 
internal compiler error: in gfc_trans_auto_array_allocation, at
fortran/trans-array.c:3047

g77 compiles the code, and makes a proper warning if instead of 'Save', 'Save
myArray' is used..

-- 
           Summary: ICE in gfc_trans_auto_array_allocation
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: valera dot veryazov at teokem dot lu dot se
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i386 Linux


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


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