diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-17 15:26:43 +0100 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-11-21 10:17:09 +0000 |
commit | 5f0e77ad4623bc5450808367d902836b7257066b (patch) | |
tree | bf5a5d843576facd3030bf0c6efea52ce1770d94 /gcc/asan.h | |
parent | 1a758c3a9bb3e57a8d168e66f37c63ac024df4d5 (diff) | |
download | gcc-5f0e77ad4623bc5450808367d902836b7257066b.zip gcc-5f0e77ad4623bc5450808367d902836b7257066b.tar.gz gcc-5f0e77ad4623bc5450808367d902836b7257066b.tar.bz2 |
fixup: Ensure buffer allocation for bootstrap
Bootstrap was failing because the vector did not allocate the internal
buffer and was holding a null pointer.
Commit to fixup is b71fd2afa831
gcc/rust/ChangeLog:
* expand/rust-proc-macro.cc (generate_proc_macro_decls_symbol): Resize
the vector and initialize it with dummy data before changing it.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/asan.h')
0 files changed, 0 insertions, 0 deletions