[gcc/devel/rust/master] Merge #1541

Thomas Schwinge tschwinge@gcc.gnu.org
Fri Sep 23 06:52:00 GMT 2022


https://gcc.gnu.org/g:6da3cab7b0acf5dc363c85069bef716923ddf90c

commit 6da3cab7b0acf5dc363c85069bef716923ddf90c
Merge: f252b409366 5f01d6c5373
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Thu Sep 22 12:20:49 2022 +0000

    Merge #1541
    
    1541: Static const eval safety r=philberty a=philberty
    
    This adds a test case for the rust issue: https://blog.rust-lang.org/2022/09/15/const-eval-safety-rule-revision.html
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/backend/rust-compile-item.cc               |  7 ++++++-
 gcc/rust/backend/rust-tree.cc                       |  7 ++++---
 gcc/rust/typecheck/rust-hir-type-check-toplevel.cc  | 10 +++++-----
 gcc/testsuite/rust/compile/rust-const-blog-issue.rs | 12 ++++++++++++
 4 files changed, 27 insertions(+), 9 deletions(-)


More information about the Gcc-cvs mailing list