[gcc/devel/rust/master] Merge #1526
Thomas Schwinge
tschwinge@gcc.gnu.org
Mon Sep 12 07:21:04 GMT 2022
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 <liushuyu011@gmail.com>
Diff:
gcc/rust/backend/rust-compile-expr.cc | 5 ++++-
.../rust/execute/torture/loop-condition-eval.rs | 21 +++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
More information about the Gcc-cvs
mailing list