diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-08-04 12:34:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 12:34:29 +0000 |
commit | 7bdd8599b99a80b5930945bb87d1abffba8ee157 (patch) | |
tree | 35177429e31831ef2af9c154b0cb03c514850da8 /gcc/tree-ssa-loop-manip.c | |
parent | 73271c4ce5d33fe51766ce9cc438cad764bf31c1 (diff) | |
parent | 0209c8f6624a287a2e23bfbce70e8729947c43be (diff) | |
download | gcc-7bdd8599b99a80b5930945bb87d1abffba8ee157.zip gcc-7bdd8599b99a80b5930945bb87d1abffba8ee157.tar.gz gcc-7bdd8599b99a80b5930945bb87d1abffba8ee157.tar.bz2 |
Merge #606
606: Always check the result of expect_token while parsing r=dkm a=dkm
From Mark Wielaard : https://gcc.gnu.org/pipermail/gcc-rust/2021-August/000111.html
> When expect_token fails it produces an error and return a
> nullptr. Make sure to always check the result of expect_token so we
> don't use a nullptr token and crash.
>
> Resolves: https://github.com/Rust-GCC/gccrs/issues/603
Co-authored-by: Mark Wielaard <mark@klomp.org>
Co-authored-by: Thomas Schwinge <thomas@codesourcery.com>
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
0 files changed, 0 insertions, 0 deletions