mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
The capacity was not updated on tokenstream grow. This commit also add a new mechanism to prevent a tokenstream to grow with a zero delta capacity. libgrust/ChangeLog: * libproc_macro/tokenstream.cc (TokenStream::grow): Add minimum growing capacity. (TokenStream::push): Change condition. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>