diff options
author | liushuyu <liushuyu011@gmail.com> | 2022-09-05 17:56:03 -0600 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-01-31 14:16:51 +0100 |
commit | e6a3886a833a0c499ab20a828ffae79076d47a4d (patch) | |
tree | 71a89ed815c718b367c7488c82b346d440ca3894 /gcc/rust/backend/rust-tree.cc | |
parent | b0ff1647cbe682b681ab9abaed3315b6b03c20fc (diff) | |
download | gcc-e6a3886a833a0c499ab20a828ffae79076d47a4d.zip gcc-e6a3886a833a0c499ab20a828ffae79076d47a4d.tar.gz gcc-e6a3886a833a0c499ab20a828ffae79076d47a4d.tar.bz2 |
gccrs: 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.
gcc/rust/ChangeLog:
* backend/rust-compile-expr.cc (CompileExpr::visit): Properly formulate
exit condition when compiling while loops.
Signed-off-by: Zixing Liu <liushuyu011@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-tree.cc')
0 files changed, 0 insertions, 0 deletions