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

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

commit a2ce3ef6b024736dfcbfabb062100c685fa95c6b
Merge: e28c43f2f40 0114e3e5b3b
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Thu Oct 28 10:13:12 2021 +0000

    Merge #775
    
    775: Support const within block-expr's r=philberty a=philberty
    
    This adds support for constant folding within block expr's and constant
    ArrayIndexExpression.
    
    Fixes #711
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/backend/rust-compile-stmt.h            | 27 ++++++++++++++++++++++++
 gcc/rust/hir/rust-ast-lower-stmt.h              | 28 +++++++++++++++++++++++++
 gcc/rust/resolve/rust-ast-resolve-stmt.h        | 24 +++++++++++++++++++++
 gcc/rust/typecheck/rust-hir-const-fold.h        |  9 ++++++++
 gcc/rust/typecheck/rust-hir-type-check-stmt.h   | 13 ++++++++++++
 gcc/testsuite/rust/compile/torture/constant2.rs |  6 ++++++
 gcc/testsuite/rust/compile/torture/constant3.rs | 10 +++++++++
 7 files changed, 117 insertions(+)


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

only message in thread, other threads:[~2022-06-08 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 11:45 [gcc/devel/rust/master] Merge #775 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).