https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRM
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.
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.
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.
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892
Andrew Pinski changed:
What|Removed |Added
Component|libstdc++ |c++
--- Comment #1 from Andrew Pinski -