This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77562] large amount of memory usage when allocating big arrays
- From: "programmerjake at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Sep 2016 21:15:24 +0000
- Subject: [Bug c++/77562] large amount of memory usage when allocating big arrays
- Auto-submitted: auto-generated
- References: <bug-77562-4@http.gcc.gnu.org/bugzilla/>
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.