Skip to content

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