diff options
author | Lewis Hyatt <lhyatt@gmail.com> | 2024-10-22 15:23:40 -0400 |
---|---|---|
committer | Lewis Hyatt <lhyatt@gcc.gnu.org> | 2024-12-23 20:24:30 -0500 |
commit | 27af1a14f3a0c897f5da3fc36cd2f9fe5ca4b0ed (patch) | |
tree | 6d3b30414b27e550bf4dd5569183a35b9f4e567d /gcc/ada/gcc-interface | |
parent | 11090da81e49c37fa5f271b0e0f10291eb0971bc (diff) | |
download | gcc-27af1a14f3a0c897f5da3fc36cd2f9fe5ca4b0ed.zip gcc-27af1a14f3a0c897f5da3fc36cd2f9fe5ca4b0ed.tar.gz gcc-27af1a14f3a0c897f5da3fc36cd2f9fe5ca4b0ed.tar.bz2 |
libcpp: Fix overly large buffer allocation
It seems that tokens_buff_new() has always been allocating the virtual
location buffer 4 times larger than intended, and now that location_t is
64-bit, it is 8 times larger. Fixed.
libcpp/ChangeLog:
* macro.cc (tokens_buff_new): Fix length argument to XNEWVEC.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions