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++/63295] New: Insane memory use


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63295

            Bug ID: 63295
           Summary: Insane memory use
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: terra at gnome dot org

Compiling the (nonsense) program:

class x class
x<x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x(x( 

prints one error and starts using insane amounts of memory.  GBs worth of it.


gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux) 

Invocation was "g++ mem.C".


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