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

Provide layout rules for non-POD unions (N2544). #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zygoloid
Copy link
Contributor

@zygoloid zygoloid commented Aug 6, 2018

The layout rules do not anticipate the possibility of a union not being a POD for the purpose of layout. Extend the rules to cover this situation in a way that appears to match current implementation consensus.

@zygoloid
Copy link
Contributor Author

Ping. We now have implementation divergence between GCC and Clang for unions with repeated [[no_unique_address]] members, and it'd be good for the ABI to say what to do.

@jwakely
Copy link
Contributor

jwakely commented Jun 30, 2020

GCC's behaviour is just odd, but it would be helpful for the ABI to say what's right before we change it again.

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.

2 participants