Skip to content

Gcc 15 #361

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

Conversation

insertinterestingnamehere
Copy link
Collaborator

No description provided.

They (erroneously) assume that the __sync_val_compare_and_swap intrinsic
is a pure founction and that, if the resulting value is discarded,
the corresponding function cal can be discarded too.
Some of the older code in qthreads liked to write atomic stores
using CAS operations with discarded return values.
While there's technically nothing wrong with that,
it's an odd idiom now that we have c11 atomics.
This switches those cases over to c11 atomic stores instead.
@insertinterestingnamehere insertinterestingnamehere merged commit af9195e into sandialabs:main May 8, 2025
367 of 377 checks passed
@insertinterestingnamehere
Copy link
Collaborator Author

Note: updates for nvc, icx, and aocc included here as well.

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