[Bug c++/55402] Compiling large initializer lists never finishes

2019-03-05 Thread steven at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 Steven Bosscher changed: What|Removed |Added Status|ASSIGNED|NEW Last reconfirmed|2012-11-20

[Bug c++/55402] Compiling large initializer lists never finishes

2016-01-31 Thread m.hasnain.lakhani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #15 from Hasnain Lakhani --- Created attachment 37536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37536=edit Faster version assigning each pair directly to the map

[Bug c++/55402] Compiling large initializer lists never finishes

2016-01-31 Thread m.hasnain.lakhani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #14 from Hasnain Lakhani --- Created attachment 37535 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37535=edit The slow code file with a huge initializer list

[Bug c++/55402] Compiling large initializer lists never finishes

2016-01-31 Thread m.hasnain.lakhani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 Hasnain Lakhani changed: What|Removed |Added CC||m.hasnain.lakhani at gmail dot com

[Bug c++/55402] Compiling large initializer lists never finishes

2016-01-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #12 from Jonathan Wakely --- Similar to PR 56671 but -fno-exceptions doesn't help there, the issue is that the initializer-list is in a constexpr constructor.

[Bug c++/55402] Compiling large initializer lists never finishes

2013-03-06 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #11 from Steven Bosscher steven at gcc dot gnu.org 2013-03-06 10:30:20 UTC --- Maybe the issues in this bug are the same as those for bug 55135.

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-20 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-20 11:43:27 UTC --- I believe the expensive part here is the EH, we end up with 56000 nested try/finally constructs. With -fno-exceptions this compiles in reasonable time

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-19 Thread kevin at topsy dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #1 from Kevin Hsu kevin at topsy dot com 2012-11-19 22:27:00 UTC --- In the example, the initializer list has maybe around 60,000 elements. This is pretty large, but by no means a corner case.

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-19 Thread kevin at topsy dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #2 from Kevin Hsu kevin at topsy dot com 2012-11-19 22:28:53 UTC --- Created attachment 28737 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28737 The .cc file, gzip'd In case it helps (gzipped)

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-19 Thread kevin at topsy dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #3 from Kevin Hsu kevin at topsy dot com 2012-11-19 22:30:48 UTC --- Created attachment 28738 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28738 intermediate file, gzipped

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-19 Thread kevin at topsy dot com
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:

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug c++/55402] Compiling large initializer lists never finishes

2012-11-19 Thread kevin at topsy dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #6 from Kevin Hsu kevin at topsy dot com 2012-11-20 00:24:11 UTC --- (In reply to comment #5) I don't think it's correct to say that it *never* finishes - the memory usage also doesn't diverge - it's just extremely slow. We