[forwarded from https://launchpad.net/bugs/398403]

Building the attached file with gcc from the 4.4 branch with -g
-fstack-protector -fPIE -Os, the build fails (killed by oom), last info seen is
memory usage of about 1500mb. Building without -fPIE memory usage is limited
around 700MB.

Same behaviour for 4.3. With gcc-4.2 peak memory usage is with/without -fPIE
below 400MB. Not checked on trunk, currently fails to build.


-- 
           Summary: [4.3/4.4 regression]  memory hog compiling big functions
                    with -fPIE
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at ubuntu dot com
GCC target triplet: arm-linux-gnueabi


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

Reply via email to