[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1163.0. "Compiler Internal Error - f77 V4.1-6 on Digital Unix 4.0b" by HPCGRP::DEGREGORY (Karen 223-5801) Thu Feb 06 1997 14:25


The following example will give you an internal compiler error when
processed with f77 -c -g.  However you will not get an error with
f77 -c, f90 -c, f90 -c -g.


oursmp> f77 -c -g x.f
Assertion failure:  Compiler internal error - please submit problem report
GEM ASSERTION, Compiler internal error - please submit problem report
Fatal error in: /usr/lib/cmplrs/fort/decfort Terminated


------------------------  x.f      ---------------------------


        subroutine sub
        doubleprecision var001
        pointer (var00002,var001(0:0,0:0))
        common /var03/ var0006, var0007, var00002
        end
T.RTitleUserPersonal
Name
DateLines
1163.1Working...GEMGRP::MONTELEONEThu Feb 06 1997 14:467

   The assertion is coming from GEM - I'll take a look and get back to you when
   I have more information...


   Bob
1163.2Front end issueGEMGRP::MONTELEONEThu Feb 06 1997 15:0116
    
    
    The front end is passing an illogical construct to GEM, which catches
    it and asserts. The FORTRAN team will have to take it from here.
    
    
    Bob
    
    
    Note to the front end:
    
    There is a symbol, with defined storge class that is being defined upon
    another symbol with defined storage class, which is invalid. A similar
    such problem was resolved in F90 recently and F90 compiles this program
    cleanly...
    
1163.3FixedTLE::EKLUNDAlways smiling on the inside!Thu Feb 06 1997 15:3811
    	This is the same as note 1117.  See in particular
    1117.0 and 1117.3.  The internal error comes up when you request
    debugging information and there is a pointer in COMMON which
    points to an array.  Fixed by edit 4-104.
    
    Cheers!
    Dave Eklund 
    
    PS I checked your program, just to be sure - it now works.
    Dave E