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 c++/25878] New: Excessive memory and compile-time with std::map init sequence


The attached testcase needs an excessive amount of memory and compile-time to
build with -O2.  500MB max. virtual memory and 1m10s compile-time on a x86_64
machine.

The problem is inlining causes the CodeMaps::CodeMaps constructor to explode
in CFG size (also due to exception handling).


-- 
           Summary: Excessive memory and compile-time with std::map init
                    sequence
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: memory-hog
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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