Skip to content

Prevent a heap pointer from living on the stack longer than we need. #750

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

Merged
merged 1 commit into from
Apr 10, 2018

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Apr 9, 2018

No description provided.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. I didn't know you could cast to volatile for a single statement. That's good.

@dhalbert dhalbert merged commit d203d1c into adafruit:master Apr 10, 2018
jepler added a commit to jepler/circuitpython that referenced this pull request Apr 10, 2018
This caused a fatal compiler diagnostic after adafruit#750.  This compiler
flag is already specified in the atmel-samd builds, so it makes
sense to do it here for the same reasons.
dhalbert pushed a commit to dhalbert/circuitpython that referenced this pull request Apr 10, 2018
This caused a fatal compiler diagnostic after adafruit#750.  This compiler
flag is already specified in the atmel-samd builds, so it makes
sense to do it here for the same reasons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants