diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-23 14:15:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 14:15:14 +0000 |
commit | 251536cdb29525d9ca6a6ba54abe40469f260a10 (patch) | |
tree | e8eb6746993500d5470d758fce53ed3e261a2749 /gcc/data-streamer-in.c | |
parent | 99b73780e6e30f962c01532d3ec189ceeecf7f93 (diff) | |
parent | d9a5f670bb6075177a84d0641e05ee25ca9f1727 (diff) | |
parent | dcb3a7b62b91cf890c3bc91b4faf3e7343b6cb42 (diff) | |
download | gcc-251536cdb29525d9ca6a6ba54abe40469f260a10.zip gcc-251536cdb29525d9ca6a6ba54abe40469f260a10.tar.gz gcc-251536cdb29525d9ca6a6ba54abe40469f260a10.tar.bz2 |
Merge #445 #446
445: Fix assert in rust-buffered-queue peek r=dkm a=dkm
When end + num_items_to_read > buffer.size the buffer is extended to make sure it
can hold at least the extra num_items_to_read. The assert at the end of this block
however checks against end + num_queued_items. Fix the assert. This makes check-rust
zero fail on arm64.
446: Fix aarch64 config for rust r=dkm a=dkm
Define aarch64_rust_target_cpu_info in aarch64-protos.h.
AARCH64_ISA_V8_1 isn't defined directly, check aarch64_isa_flags.
Co-authored-by: Mark Wielaard <mark@klomp.org>