https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245
Carlos Galvez <carlosgalvezp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlosgalvezp at gmail dot com --- Comment #82 from Carlos Galvez <carlosgalvezp at gmail dot com> --- Hi, This bug is still present in GCC 11.3.0. My use case is using large std::arrays. NOTE: the problem immediately goes away if the arrays are not initialized, but naturally we want to always initialize our variables to prevent accessing uninitialized data: -std::array<Foo, 1000000> data{}; +std::array<Foo, 1000000> data;