public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37991]  New: excessive memory consumption - possible hang
@ 2008-11-01 21:29 dcb314 at hotmail dot com
  2008-11-01 21:30 ` [Bug c++/37991] " dcb314 at hotmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2008-11-01 21:29 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the attached C++ source code with both
gcc 4.3.1 and gcc 4.4.0 snapshot 20081031.

gcc 431 took less than one second and consumed a trivial amount
of virtual memory.

gcc 440 snapshot 20081031 took over 90 seconds on an idle machine,
and consumed over 11 Gig of virtual memory before running out of
virtual memory.

In my opinion, 11 Gig of memory is an excessive amount of memory to use.
I suspect the compiler is looping without doing any productive work.

Preprocessed source code attached. Flag -O2 required.


-- 
           Summary: excessive memory consumption - possible hang
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: suse-linux-x86_64


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-11-02 20:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-01 21:29 [Bug c++/37991] New: excessive memory consumption - possible hang dcb314 at hotmail dot com
2008-11-01 21:30 ` [Bug c++/37991] " dcb314 at hotmail dot com
2008-11-02 10:43 ` [Bug tree-optimization/37991] [4.4 Regression] " rguenth at gcc dot gnu dot org
2008-11-02 11:00 ` rguenth at gcc dot gnu dot org
2008-11-02 11:28 ` rguenth at gcc dot gnu dot org
2008-11-02 12:05 ` rguenth at gcc dot gnu dot org
2008-11-02 13:37 ` rguenth at gcc dot gnu dot org
2008-11-02 13:37 ` rguenth at gcc dot gnu dot org
2008-11-02 20:55 ` dberlin at dberlin dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).