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

Argument aliasing check #30

Open
tmmsartor opened this issue Feb 26, 2018 · 1 comment
Open

Argument aliasing check #30

tmmsartor opened this issue Feb 26, 2018 · 1 comment

Comments

@tmmsartor
Copy link
Contributor

As pointed out in #27 aliasing of routines arguments can lead to unexpected and unwanted behaviors.
To mitigate this problem I propose two incremental solutions:

  • Specify this requirement more clearly in the documentation
  • Add a compilation flag with which one can enable some kind of checks for argument aliasing on all routines that do not allow them.
@giaf
Copy link
Owner

giaf commented May 4, 2018

Yep this was exactly the idea of the run_time_checks, but so far it has been implemented only in very few routines.

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

No branches or pull requests

2 participants