Beginning with mainline from 2005-09-25, GCC dies with "virtual memory
exhausted: cannot allocate memory" when building the SPEC CPU2000 test
197.parser with -O3 and -fprofile-generate/-fprofile-use.  In my parallel
build of 197.parser the failures are for fast-match.c, build-disjuncts.c,
and post-process.c, using GCC for powerpc64-linux with -m32.  The rest
of the CPU2000 programs build and run successfully using the same
options.  I saw this on two systems where I do lots of testing and have
never run out of memory before, so it's not just that my memory size is
unreasonably small.

Function cgraph_clone_inlined_nodes is in the traceback for the abort.
There are two cgraph changes from Jan Hubicka on 2005-09-24 that seem
to be likely suspects.

-- 
           Summary: cgraph exhausts virtual memory building 197.parser with
                    -profile-use -O3
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gcov/profile
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis187 at us dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org,hubicka at gcc dot gnu
                    dot org
GCC target triplet: powerpc-unknown-linux-gnu


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

Reply via email to