From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 0D244384F002; Mon, 12 Sep 2022 07:21:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D244384F002 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662967264; bh=8Dhg0ODLjqOmeobPEK/YhnkNK/x1E/+BtXHshHlEt94=; h=From:To:Subject:Date:From; b=B623Qq8aMv5rzKNw+Lqf0mdgqjwq8uLxmgh9YA4o1kdEMeobQUjZ/6yljRKdtZDSy oil8+lYNrU4nVWMvl8y4d5EGWr4sEnhQzYz7yPGIGtVFYCxvZxnLpvgCu2c9At9XAA WtaBGoRyfNp8GDrTDjQNhfcgp6DXYYvJdyTRqKys= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1526 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 8c6b017310ec3b4f77500d5fa8311e995d655c1a X-Git-Newrev: f03760b98ba4160f08ade309daf22fedaf1cc2dd Message-Id: <20220912072104.0D244384F002@sourceware.org> Date: Mon, 12 Sep 2022 07:21:04 +0000 (GMT) List-Id: https://gcc.gnu.org/g:f03760b98ba4160f08ade309daf22fedaf1cc2dd commit f03760b98ba4160f08ade309daf22fedaf1cc2dd Merge: 8c6b017310e 6839ad40eeb Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Thu Sep 8 00:08:07 2022 +0000 Merge #1526 1526: backend: correctly formulate the exit condition r=philberty a=liushuyu - backend: correctly formulate the exit condition. Previously the exit condition was treated the same as the loop condition (which is the inverse condition of the exit condition). Now, this is corrected. Should fix #1523 Co-authored-by: liushuyu Diff: gcc/rust/backend/rust-compile-expr.cc | 5 ++++- .../rust/execute/torture/loop-condition-eval.rs | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-)