diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-02-11 17:51:22 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-02-11 20:53:06 +0000 |
commit | dbb51c03abbac3947a375e7fa51ec545c8a8b63b (patch) | |
tree | 440f4406afdd99c4e83e81798d73fbf218a9611e /gcc/alias.cc | |
parent | 262040ea6606e09c8d7a7b2e526ee8203a4fe4d3 (diff) | |
download | gcc-dbb51c03abbac3947a375e7fa51ec545c8a8b63b.zip gcc-dbb51c03abbac3947a375e7fa51ec545c8a8b63b.tar.gz gcc-dbb51c03abbac3947a375e7fa51ec545c8a8b63b.tar.bz2 |
gccrs: enum type layout needs to respect the enum repr type
Addresses Rust-GCC#3352
gcc/rust/ChangeLog:
* backend/rust-compile-type.cc (TyTyResolveCompile::get_implicit_enumeral_node_type):
use repr
(TyTyResolveCompile::visit): update prototype
* backend/rust-compile-type.h: likewise
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/alias.cc')
0 files changed, 0 insertions, 0 deletions