-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Check union initialization portably #10178
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
base: development
Are you sure you want to change the base?
Check union initialization portably #10178
Conversation
Signed-off-by: Gilles Peskine <[email protected]>
This is a non-regression test for Mbed-TLS#9814 Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for the submodule pointers:
- I think framework no longer needs updating
- crypto will need updating when the companion crypto PR is merged.
# disable the new problematic optimization. | ||
loc_cflags="${loc_cflags} -fzero-init-padding-bits=unions" | ||
# Also allow a warning that we don't yet comply to. | ||
# Allow a warning that we don't yet comply to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, looking at current development if looks like this change was already done. I'm surprised github doesn't show it as a conflict. But overall I'm not sure we really need this PR, considering the only changes it's doing are either already done, or submodule updates.
Improved testing for #9814 and #9975. This PR just combines the bits and may not be needed if all submodules get updated through alternative PR.
Needs preceding PR:
PR checklist