public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/rust/master] Merge #1194
Date: Wed,  8 Jun 2022 12:41:16 +0000 (GMT)	[thread overview]
Message-ID: <20220608124116.1E9BD38928D1@sourceware.org> (raw)

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(-)


                 reply	other threads:[~2022-06-08 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220608124116.1E9BD38928D1@sourceware.org \
    --to=tschwinge@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).