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/21034] New: internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans-array.c:3036


Hi, 
I was in the process of translating a program written in f77 into f90 when this 
bug occurred. All I did was to add parameters to a function ; these parameters 
must correspond to the dimensions of arrays, as I want to allocate memory to 
them dynamically. 
 
I declared my arrays like: 
 
real*8,dimension(n1,n2) tab1, tab2 
 
and n1 and n2 are the two variables I added in the parameters of my function. 
 
 
"$ gfc --version" gives: 
GNU Fortran 95 (GCC 4.1.0 20050413 (experimental)) 
 
Compilation options: 
-ffixed-line-length-132 -Wall -static 
 
I'm completely stuck because of this problem, therefore if you had the 
slightest idea, even just to get round this, I'd be *much* interested... 
 
Many thanks in advance !

-- 
           Summary: internal compiler error: in
                    gfc_trans_auto_array_allocation, at fortran/trans-
                    array.c:3036
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nicolas dot girard at nerim dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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