diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-12-08 18:46:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 18:46:53 +0000 |
commit | b36e8cac9faaa245baa3c0579a6584d375f24e2c (patch) | |
tree | cb04188322a6d489b1c1811b4a94c8d2dfcbd8e1 /gcc/rust/rust-lang.cc | |
parent | 038e11c3eeb4eb36f8894829af6299abb70f3e04 (diff) | |
parent | a2ae23a9f2703519ab0e0709ca9785005c1ed872 (diff) | |
download | gcc-b36e8cac9faaa245baa3c0579a6584d375f24e2c.zip gcc-b36e8cac9faaa245baa3c0579a6584d375f24e2c.tar.gz gcc-b36e8cac9faaa245baa3c0579a6584d375f24e2c.tar.bz2 |
Merge #1685
1685: Backport 1656 r=CohenArthur a=CohenArthur
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/rust-lang.cc')
-rw-r--r-- | gcc/rust/rust-lang.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc index 34778c8..d69f283 100644 --- a/gcc/rust/rust-lang.cc +++ b/gcc/rust/rust-lang.cc @@ -355,13 +355,13 @@ convert (tree type, tree expr) case BOOLEAN_TYPE: return fold_convert (type, expr); case INTEGER_TYPE: - return fold (convert_to_integer (type, expr)); + return convert_to_integer (type, expr); case POINTER_TYPE: - return fold (convert_to_pointer (type, expr)); + return convert_to_pointer (type, expr); case REAL_TYPE: - return fold (convert_to_real (type, expr)); + return convert_to_real (type, expr); case COMPLEX_TYPE: - return fold (convert_to_complex (type, expr)); + return convert_to_complex (type, expr); default: break; } |