[Bug c++/77562] large amount of memory usage when allocating big arrays

programmerjake at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Sep 11 21:15:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77562

--- Comment #6 from programmerjake at gmail dot com ---
(In reply to Andrew Pinski from comment #5)
> Note I suspect this is due to "long a = 1;" being treated as a constexpr
> something like that now.

it is. In the original code I had, S has a constexpr default constructor.


More information about the Gcc-bugs mailing list