From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20030 invoked by alias); 19 Nov 2012 22:26:15 -0000 Received: (qmail 19237 invoked by uid 48); 19 Nov 2012 22:25:54 -0000 From: "kevin at topsy dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55402] New: Compiling large initializer lists never finishes Date: Mon, 19 Nov 2012 22:26: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-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: kevin at topsy 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-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-11/txt/msg01835.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 Bug #: 55402 Summary: Compiling large initializer lists never finishes Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: kevin@topsy.com An initializer list of tens of thousands of simple std::pair<...> causes GCC 4.7.2 to busily never return. Command line: kevin@ps027:~$ cat /proc/version Linux version 2.6.32-32-server (buildd@allspice) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 kevin@ps027:~$ g++-4.7 --version g++-4.7 (Ubuntu/Linaro 4.7.2-2+ub1) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. kevin@ps027:~$ g++ -std=c++0x -save-temps hang.cc (never returns, compiler forever busy)