This file fails to compile after attempting to allocate 2G of memory with -O3.

g++ test.ii -O3

I guess that the PowerPCAsmPrinter::printInstruction method is the problem. 
This file comes from the LLVM PPC backend.

-Chris

-- 
           Summary: Obscene amount of memory required to optimize file
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sabre at nondot dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ppc-darwin
  GCC host triplet: ppc-darwin
GCC target triplet: ppc-darwin


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

Reply via email to