public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1194
@ 2022-06-08 12:41 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:41 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f8a137bd9391733a3d0d7b58f0f30af441e25a5a
commit f8a137bd9391733a3d0d7b58f0f30af441e25a5a
Merge: 83e13db1fa1 e09a5763203
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Fri Apr 29 13:09:18 2022 +0000
Merge #1194
1194: Add support for transmute r=philberty a=philberty
This PR adds support for the transmute intrinsic by utilizing the convert
expression code. It also fixes a bug with our coercion rules which miss
two chances for inference variables to resolve slices and arrays.
Fixes #1130
Addresses #658
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diff:
gcc/rust/backend/rust-compile-intrinsic.cc | 115 ++++++++++++++++++++++-
gcc/rust/typecheck/rust-tyty-coercion.h | 24 +++++
gcc/testsuite/rust/compile/issue-1130.rs | 47 +++++++++
gcc/testsuite/rust/compile/torture/transmute1.rs | 11 +++
4 files changed, 195 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:41 [gcc/devel/rust/master] Merge #1194 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).