https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90801
--- Comment #1 from zhonghao at pku dot org.cn --- Here is the url of the previous bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59659 (In reply to zhonghao from comment #0) > A previous bug report complains that gcc hangs when compiling large > zero-initialized std::array, and it is marked as fixed. My gcc is 10.0.0, > but it still hangs given the following code sample: > > #include <array> > > class Foo { public: Foo() {} int i; }; > > int main() { > std::array<Foo, 1000000> arr = {{}}; // Halting problem. > }