Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add another check to remove the one additional Ncomp = Ncomp_new;
assume the evaluation of conditions doesn't change code behavior this evaluates to A(BA)* label: <- the original code stuff A if (condition) { stuff B goto label } this evaluates to (AB)+ do { stuff A evaluate condition (in case stuff overwrites variables used in it) stuff B } while (condition) This will lead to one more "B" than the original code So change it to this do { stuff A evaluate condition (in case stuff overwrites variables used in it) if (condition) { stuff B } } while (condition)
- Loading branch information
ad28a57
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.
refactorGOTO (Unknown) - Win64-Windows-10-VisualStudio-16: OK (2775 of 2775 tests passed, 0 test warnings)
ad28a57
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.
refactorGOTO (Unknown) - x86_64-MacOS-10.18-clang-15.0.0: OK (3563 of 3563 tests passed, 0 test warnings)
ad28a57
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.
refactorGOTO (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3604 of 3604 tests passed, 0 test warnings)
ad28a57
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.
refactorGOTO (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (1987 of 1987 tests passed, 0 test warnings)
ad28a57
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.
refactorGOTO (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (791 of 791 tests passed, 0 test warnings)