Skip to content

Conversation

@devreal
Copy link
Contributor

@devreal devreal commented Jan 7, 2026

_Alignof was standardized in C11 which OMPI now requires.

Backport of #13613 to v6.0.x

_Alignof was standardized in C11 which OMPI now requires.

Signed-off-by: Joseph Schuchart <[email protected]>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the codebase by replacing a custom alignment calculation function with the C11 standard _Alignof operator, which is now available since OMPI requires C11. This is a backport of PR #13613 to the v6.0.x branch.

Key changes:

  • Removed the custom alignment_of_long_double() function that computed alignment heuristically
  • Replaced all calls to this function with direct _Alignof(long double) calls

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hppritcha hppritcha merged commit 8bf3e21 into open-mpi:v6.0.x Jan 8, 2026
25 of 27 checks passed
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.

3 participants