aboutsummaryrefslogtreecommitdiff
path: root/gcc/data-streamer-in.c
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-23 14:15:14 +0000
committerGitHub <noreply@github.com>2021-05-23 14:15:14 +0000
commit251536cdb29525d9ca6a6ba54abe40469f260a10 (patch)
treee8eb6746993500d5470d758fce53ed3e261a2749 /gcc/data-streamer-in.c
parent99b73780e6e30f962c01532d3ec189ceeecf7f93 (diff)
parentd9a5f670bb6075177a84d0641e05ee25ca9f1727 (diff)
parentdcb3a7b62b91cf890c3bc91b4faf3e7343b6cb42 (diff)
downloadgcc-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>