This is a set of 4 patches that do some small cleanups of rust-gcc.cc The first patch might fix a bug in some cases but I am not 100% sure since I suspect complex types here might only be floating point types but who knows. The rest are using GCC's checks better or just other small changes that help the readability.
Andrew Pinski (4): rust: Use FLOAT_TYPE_P instead of manual checking rust: Use error_operand_p in rust-gcc.cc rust: use range for inside rust-gcc.cc [PR119341] rust: Add comment inside block [PR119342] gcc/rust/rust-gcc.cc | 254 +++++++++++++++++++------------------------ 1 file changed, 114 insertions(+), 140 deletions(-) -- 2.43.0