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/33202] New: 'NO' runtime problem with a code compiled using gfotran ... and it should !


gfortran/ version gcc 4.1.1 20070105 (Red Hat 4.1.1-51)

Runtime problem with code compiled using gfortran. 

The following declaration were in the code:

Call Routine(var)

and then 

SUBROUTINE Routine(var1, var2)

INTEGER, INTENT(IN) :: var1
CHARACTER(LEN=3), INTENT(IN) :: var2

The code compiled perfecty with gfortran .. with the bad number of variables
in the call. 
It works too with ifortran and g95 ... but with this two the execution failed
with an segmentation fault ... and not with the code compiled with gfotran.
(gfortran used compilation option were: 
-x f95-cpp-input -fbounds-check -DD -fimplicit-none -pedantic -g -pg)
The code should stop and


-- 
           Summary: 'NO' runtime problem with a code compiled using gfotran
                    ... and it should !
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: leroux at lpmc dot univ-montp2 dot fr
  GCC host triplet:  i686
GCC target triplet: Linux FC6


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


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