[Bug c++/59659] large zero-initialized std::array of std::atomic compile time excessive

Casey at Carter dot net gcc-bugzilla@gcc.gnu.org
Thu Jan 2 16:04:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59659

--- Comment #1 from Casey Carter <Casey at Carter dot net> ---
Created attachment 31563
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31563&action=edit
Minimal test case.

Attached minimal test case. std::atomic<int> arr[1000000]; compiles correctly,
so it seems to be an interaction between std::atomic<int> and std::array.



More information about the Gcc-bugs mailing list