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/32439] New: f951: out of memory with '-O1 -fbounds-check'


As mentioned in the CP2K PR 29975 comment 112

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975#c112

on the source made available as

http://www.pci.unizh.ch/vandevondele/tmp/CP2K_gcc_2007_06.tgz

gfortran -O1 -fbounds-check all.f90 

fails with 

f951: out of memory allocating 2408 bytes after a total of 1146208256 bytes

this is happening with current trunk (but also earlier versions). The opteron
this is running on has 16Gb of RAM, and can compile the same code at all other
optimisation levels (not involving -fbounds-check) I tried. Watching top, the
above processes dies at about 3Gb of virtual memory (all other options
typically peak at around 2.5Gb), so this is a bit strange.

Unfortunately, this out of memory message comes after about 35min of
compilation time, but let me know if this is some simple additional info I can
provide


-- 
           Summary: f951: out of memory with '-O1 -fbounds-check'
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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