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/14362] New: Memory leak during optimisation?


When compiling the enclosed Fortran file with optimisation, the compiler 
suddenly starts to quickly allocate more and more memory; after about 1.5 GB 
it aborts because I do not have more swap space.  Without optimisation 
everything is fine.  I assume that the Fortran code is correct.  The compiler 
version is 
 
$ ~/gcc-3.5-tree-ssa/bin/gfortran --version 
GNU Fortran 95 (GCC 3.5-tree-ssa 20040229 (merged 20040211)) 
 
and the options are 
 
current_wd=`pwd` ; 
cd /home/eschnett/Calpha/Cactus/configs/einstein-gfortran/scratch ; /home/eschnett/gcc-3.5-tree-ssa/bin/gfortran 
-march=pentium3 -malign-double -m128bit-long-double -g3 -gdwarf-2 -O3 
-funroll-loops -Wall -c -o $current_wd/ih_interpolate.F90.o 
$current_wd/ih_interpolate.f90

-- 
           Summary: Memory leak during optimisation?
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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