Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match the pragma behavior of optimize_code and additional_branch_optimization to CLI behavior #459

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

mkruselj
Copy link
Collaborator

Previously, using #pragma compile_with optimize_code didn't actually enable extra_syntax_checks, like the CLI version did. Even worse happened with additional_branch_optimization, which disabled extra_syntax_checks if additional_branch_optimization was disabled.

Fix this so that the behavior is exactly the same as when compiling via CLI

…mization to CLI behavior

Previously, using #pragma compile_with optimize_code didn't actually enable extra_syntax_checks,
like the CLI version did. Even worse happened with additional_branch_optimization,
which disabled extra_syntax_checks if additional_branch_optimization was disabled.

Fix this so that the behavior is exactly the same as when compiling via CLI
@mkruselj mkruselj merged commit bfd0d9f into nojanath:master Aug 12, 2024
1 check passed
@mkruselj mkruselj deleted the match-pragma-behavior-to-cli branch August 12, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant