public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1217
@ 2022-06-08 12:43 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c936fd32559244c7c71137a743a22cb8af9edac8

commit c936fd32559244c7c71137a743a22cb8af9edac8
Merge: af031b081fc f5bceb67942
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Thu May 5 15:59:54 2022 +0000

    Merge #1217
    
    1217: Fix size used in unsized adjustments r=philberty a=philberty
    
    When we coerce from an array to a slice we take the full capacity of the
    array as the size to the FatPtr slice object but this was off by one. This
    The TYPE_MAX_VALUE is not the correct method of accessing this but instead
    it needs to take into account other values to get the correct HOST_WIDE_INT
    
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/backend/rust-compile-expr.cc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:43 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:43 [gcc/devel/rust/master] Merge #1217 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).