http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402



--- Comment #4 from Kevin Hsu <kevin at topsy dot com> 2012-11-19 22:32:35 UTC 
---

(In reply to comment #0)

> 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)



Oops, the actual command line used was indeed g++-4.7:



kevin@ps027:~$ g++-4.7 -std=c++0x -save-temps hang.cc

Reply via email to