[Bug c++/93892] Aggregate initialisation of std::array takes forever to compile

2020-07-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug c++/93892] Aggregate initialisation of std::array takes forever to compile

2020-02-24 Thread zoid at riseup dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 --- Comment #5 from zoid at riseup dot net --- Yes, indeed. I just run it on a different, much newer system, and I get "only" 4 seconds for 100,000, 5 minutes for 500,000 and 15 minutes for 1,000,000.

[Bug c++/93892] Aggregate initialisation of std::array takes forever to compile

2020-02-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 --- Comment #4 from Jonathan Wakely --- PR 80272 seems like an exact dup. PR 71165 too. See also PR 55402 and PR 88604 and others.

[Bug c++/93892] Aggregate initialisation of std::array takes forever to compile

2020-02-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 --- Comment #3 from Jonathan Wakely --- (In reply to zoid from comment #0) > Note: There are similar bug reports of very old versions of gcc. This might > be a regression. There are lots of similar reports for current versions too.

[Bug c++/93892] Aggregate initialisation of std::array takes forever to compile

2020-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 --- Comment #2 from Richard Biener --- Hmm, 10 elements just take a few seconds to compile for me with GCC 9.2 and GCC 8.3? Going up to a million makes it slow though. IIRC we're not considering emitting an initialization loop.

[Bug c++/93892] Aggregate initialisation of std::array takes forever to compile

2020-02-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #1 from Andrew Pinski -