aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-05-18 16:18:58 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2023-06-08 14:32:35 +0200
commitf13da289f1c330e280b7f992aca275c9dad8a511 (patch)
treef5197e6b47e39ea6004ca5df4389b78ef1702873 /gcc
parent118518e2bac1c4671173f0205e0d1369d0b1b384 (diff)
downloadgcc-f13da289f1c330e280b7f992aca275c9dad8a511.zip
gcc-f13da289f1c330e280b7f992aca275c9dad8a511.tar.gz
gcc-f13da289f1c330e280b7f992aca275c9dad8a511.tar.bz2
libproc_macro: Fix capacity update in tokenstream
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. ChangeLog: * libgrust/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>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions