From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24542 invoked by alias); 2 Oct 2014 18:07:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24527 invoked by uid 48); 2 Oct 2014 18:07:40 -0000 From: "bobby.prani at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63444] New: Compilation consumes 2.5G memory Date: Thu, 02 Oct 2014 18:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bobby.prani at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00156.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63444 Bug ID: 63444 Summary: Compilation consumes 2.5G memory Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bobby.prani at gmail dot com Created attachment 33641 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33641&action=edit pre-processed file The compilation of the attached pre-processed file takes 2.5G memory. Not exactly a regression since both 4.8 and 4.9 do the same. But may be an interesting test case for optimizations. $ g++ -std=c++11 -c -fPIC -DNDEBUG -O3 -fno-strict-aliasing -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 test.i -o test.o