Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c2rust-transpile: emit unary operator arguments as statements if unused
in the presence of side-effecting argument expressions, it is not safe to simply drop these if unused.
- Loading branch information
1 parent
4da2a04
commit f9c5195
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f9c5195
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this commit fix the issue outlined in figure 6 ("Sample code illustrating the functional incorrectness about side effects") of https://csslab-ustc.github.io/publications/2023/rust-transpiler.pdf?
f9c5195
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @fw-immunant