aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-12-09 09:31:27 +0000
committerGitHub <noreply@github.com>2022-12-09 09:31:27 +0000
commite91b6e5339c36ecd4b6fc103c39d38757b1c7e4a (patch)
tree19afb5bd5399f806d6cbdc77553f9047ca9b19e6 /gcc
parentd0cb3248ce6afcff7f2daff3a761cc4286e6b7a2 (diff)
parentd77d5be0695a247928998f8d2511e4e06e67c4fe (diff)
downloadgcc-e91b6e5339c36ecd4b6fc103c39d38757b1c7e4a.zip
gcc-e91b6e5339c36ecd4b6fc103c39d38757b1c7e4a.tar.gz
gcc-e91b6e5339c36ecd4b6fc103c39d38757b1c7e4a.tar.bz2
Merge #1681
1681: Backport #1653 r=CohenArthur a=CohenArthur Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/rust-gcc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc
index 7fd9b65..f674fc8 100644
--- a/gcc/rust/rust-gcc.cc
+++ b/gcc/rust/rust-gcc.cc
@@ -1021,6 +1021,7 @@ Gcc_backend::var_expression (Bvariable *var, Location location)
}
// Return a typed value as a constant integer.
+// This function does not release the memory of @val
tree
Gcc_backend::integer_constant_expression (tree t, mpz_t val)