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".