[Bug libstdc++/100466] compilation of assignment from initialization list to std::array with non-trivial constructor of T is very slow
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100466 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog --- Comment #3 from Richard Biener --- I think that's an old known C++ FE issue which should emit a loop for inits instead of repeating assignments for each element.
[Bug libstdc++/100466] compilation of assignment from initialization list to std::array with non-trivial constructor of T is very slow
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100466 Xi Ruoyao changed: What|Removed |Added Version|11.1.0 |12.0 Known to fail||10.3.0, 11.1.0, 12.0, ||8.3.0, 9.3.0 --- Comment #2 from Xi Ruoyao --- Updated version, based on the test result on godbolt.
[Bug libstdc++/100466] compilation of assignment from initialization list to std::array with non-trivial constructor of T is very slow
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100466 --- Comment #1 from Xi Ruoyao --- clang-12 handles this correctly.