https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77524
--- Comment #3 from Dave Rigby <d.rigby at me dot com> --- As an aside, std::queue<> (defaulting to using std::deque as the underlying Container) suffers from a similar issue - I see 4 allocations for an empty std::queue<int>. Is this the same underlying issue, or should I raise an additional bug on that?