diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-03-26 16:32:31 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-08-01 16:52:28 +0200 |
commit | 957b4ff94ed91490f168cfabc5ee73cc6cd2191b (patch) | |
tree | 521b3f7c339999fef66c600f9bd210ac713d8be9 /gcc/rust/util/rust-attribute-values.h | |
parent | b8ab88d12dee281f25634d793387608e6eab5f68 (diff) | |
download | gcc-957b4ff94ed91490f168cfabc5ee73cc6cd2191b.zip gcc-957b4ff94ed91490f168cfabc5ee73cc6cd2191b.tar.gz gcc-957b4ff94ed91490f168cfabc5ee73cc6cd2191b.tar.bz2 |
gccrs: Change dfs function return type to support gcc 4.8
GCC 4.8 does not handle pair with references correctly. We need to use a
properly typed struct instead.
gcc/rust/ChangeLog:
* resolve/rust-forever-stack.h: Change dfs function prototype and
declare dfs return type structure.
* resolve/rust-forever-stack.hxx: Adapt dfs function to the new return
type.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/util/rust-attribute-values.h')
0 files changed, 0 insertions, 0 deletions