https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84281
Bug ID: 84281 Summary: Heap grows indefinitely Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Created attachment 43362 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43362&action=edit Reduced test case for indefinite heap growth Attached you find a creduced file that triggers the following behavior: % ulimit -d $((64*1024*1024)) # Limit to 64GB % g++ -std=gnu++1z -c b.ii <Warnings and errors omitted> virtual memory exhausted: Cannot allocate memory